Part Number Hot Search : 
M363FCN ADL855PC 2M100 CM7272 AO440 M62413FP MMBZ5236 M200D
Product Description
Full Text Search
 

To Download SX1208IMLTRT Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  sx1208 www.semtech.com page 1 wireless, sensing & timing datasheet sx1208 transceiver low power integrated uhf transceiver rev. 1 - march 2015 ?2015 semtech corporation the sx1208 is a highly integrated rf transceiver capable of operation from 290mhz to 510mhz, including the 315 and 434 mhz license-free ism (industry scientific and medical) frequency bands. its highly integrated architecture allows for a minimum of external components whilst maintaining maximum design flexibility. all major rf communication parameters are programmable and most of them can be dynamically set. the sx1208 offers the unique advantage of programmable narrow-band and wide-band communication modes without the need to modify external components. the sx1208 is optimized for low power consumption while offering high rf output power and channelized operation. truerf? technology enables a low- cost external component count (elimination of the saw filter) whilst still satisfying etsi and fcc regulations. ? automated meter reading ? wireless sensor networks ? home and building automation ? wireless alarm and security systems ? industrial monitoring and control ? smoke detectors ? europe: en 300-220-1 ? north america: fcc part 15.249 ? korean narrow bands ? high sensitivity: down to -124 dbm at 600 bps ? high selectivity: 16-tap fir channel filter ? bullet-proof front end: iip3 = -18 dbm, iip2 = +35 dbm, 80 db blocking immunity, no image frequency response ? low current: rx = 16 ma, 100na register retention ? programmable pout: -18 to +20 dbm in 1db steps ? constant rf performance over voltage range of chip ? fsk bit rates up to 100 kbps ? fully integrated synthesizer with a resolution of 61 hz ? fsk, gfsk, msk, gmsk and ook modulations ? built-in bit synchronizer performing clock recovery ? incoming sync word recognition ? 115 db+ dynamic range rssi ? automatic rf sense with ultra-fast afc ? packet engine with crc, aes-128 and 66-byte fifo ? built-in temperature sensor and low battery indicator ? pb-free, halogen free, ro hs/weee compliant product ? temperature range: -40 to +85c general description applications markets key product features ordering information part number package delivery moq / multiple SX1208IMLTRT qfn24 tape& reel 3000 pieces lna single to differential mixers ??? modulators decimation and & filtering demodulator & bit synchronizer interpolation & filtering modulator packet engine & 66 bytes fifo control registers - shift registers - spi interface spi dio0 rssi afc division by 2, 4 or 6 frac-n pll synthesizer xo 32 mhz xtal pa0 pa1&2 tank inductor loop filter rfio pa_boost reset power distribution system vbat1&2 vr_ana vr_dig vr_pa ramp & control rc oscillator gnd rxtx gnd dio1 dio2 dio3 dio4 dio5
www.semtech.com page 2 section page table of contents sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 1. general description............................................................................................................ ......................................................... 8 1.1. simplified block diagram................................................................................................. ................................................... 8 1.2. pin and marking diagram ..... .............. .............. .............. .............. .............. ........... ........... .................................................. 9 1.3. pin description ......................................................................................................... ......................................................... 10 2. electrical characteristics ................................................................................................. .......................................................... 11 2.1. esd notice ............................................................................................................... ........................................................ 11 2.2. absolute maximum ratings ... .............................................................................................. ............................................. 11 2.3. operating range .......................................................................................................... .................................................... 11 2.4. chip specification ...................................................................................................... ....................................................... 12 2.4.1. power consumption ...................................................................................................... ............................................... 12 2.4.2. frequency synthesis .................................................................................................... ................................................ 12 2.4.3. receiver............................................................................................................... ......................................................... 13 2.4.4. transmitter............................................................................................................ ........................................................ 14 2.4.5. digital specification ................................................................................................. ..................................................... 15 3. chip description ........................................................................................................... ............................................................. 16 3.1. power supply strategy ....... .............. .............. .............. .............. .............. .............. ......... ................................................. 16 3.2. low battery detector ..................................................................................................... ................................................... 16 3.3. frequency synthesis ...................................................................................................... .................................................. 16 3.3.1. reference oscillator ................................................................................................... .................................................. 16 3.3.2. clkout output ......................................................................................................... .................................................. 17 3.3.3. pll architecture ....................................................................................................... .................................................... 17 3.3.4. lock time ............................................................................................................. ........................................................ 18 3.3.5. lock detect indicator .................................................................................................. .................................................. 18 3.4. transmitter description ...... ........................................................................................... .................................................... 19 3.4.1. architecture description. .............................................................................................. ................................................. 19 3.4.2. bit rate setting......... .............................................................................................. ...................................................... 19 3.4.3. fsk modulation ......................................................................................................... ................................................... 20 3.4.4. ook modulation ......................................................................................................... .................................................. 20 3.4.5. modulation shaping ........ .............. .............. .............. .............. .............. .............. ......... ................................................. 21 3.4.6. power amplifiers....................................................................................................... .................................................... 21 3.4.7. high power settings ................................................................................................... .................................................. 22 3.4.8. output power summary ............................. ...................................................................... ............................................ 22 3.4.9. over current protection................................................................................................ ................................................ 22 3.5. receiver description .................................................................................................... ..................................................... 23 3.5.1. block diagram .......................................................................................................... .................................................... 23 3.5.2. lna - single to differential buffer......... ........................................................................... ............................................. 23 3.5.3. automatic gain control................................................................................................. ................................................ 24 3.5.4. continuous-time dagc ................................................................................................... ............................................ 25 3.5.5. quadrature mixer - adcs - decimators .................................................................................. ...................................... 26 3.5.6. channel filter ......................................................................................................... ...................................................... 26 3.5.7. dc cancellation........................................................................................................ .................................................... 27 3.5.8. complex filter - ook ................................................................................................... ................................................ 27 3.5.9. rssi ................................................................................................................... .......................................................... 27 3.5.10. cordic ................................................................................................................ ......................................................... 28 3.5.11. fsk demodulator ...................................................................................................... ................................................. 29
www.semtech.com page 3 section page table of contents sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.12. ook demodulator ....................................................................................................... ............................................... 29 3.5.13. bit synchronizer...................................................................................................... .................................................... 31 3.5.14. frequency error indicator ............................................................................................. .............................................. 31 3.5.15. automatic frequency correct ion ........................................................................................ ........................................ 32 3.5.16. optimized setup for low modulation index syst ems ...................................................................... ........................... 33 3.5.17. preamble detector .................................................................................................... .................................................. 34 3.5.18. temperature sensor.................................................................................................... ............................................... 34 3.5.19. timeout function ...................................................................................................... .................................................. 35 4. operating modes ........ .............. .............. .............. .............. ........... ............ ........... .......... ........................................................... 36 4.1. basic modes .............................................................................................................. ....................................................... 36 4.2. automatic sequencer and wake-up times............ .............. .............. ............ ........... ........... .......... .................................. 36 4.2.1. transmitter startup time .............................................................................................. ................................................ 37 4.2.2. tx start procedure..................................................................................................... ................................................... 37 4.2.3. receiver startup time .................................................................................................. ................................................ 37 4.2.4. rx start procedure ..................................................................................................... .................................................. 39 4.2.5. optimized frequency hopping sequences .............. .............. .............. .............. .............. ............ ................................ 39 4.3. listen mode ......... .............. .............. .............. .............. ........... ........... ............ .......... ......................................................... 40 4.3.1. timings ................................................................................................................ ......................................................... 40 4.3.2. criteria ............................................................................................................... ........................................................... 41 4.3.3. end of cycle actions................................................................................................... .................................................. 41 4.3.4. stopping listen mode ................................................................................................... ................................................ 42 4.3.5. rc timer accuracy...................................................................................................... ................................................. 42 4.4. automodes ............................................................................................................... ......................................................... 43 5. data processing ............................................................................................................ ............................................................ 44 5.1. overview................................................................................................................. .......................................................... 44 5.1.1. block diagram .......................................................................................................... .................................................... 44 5.1.2. data operation modes.... .............. .............. .............. .............. .............. .............. ........... ............................................... 44 5.2. control block description ... ............................................................................................. ................................................. 45 5.2.1. spi interface .......................................................................................................... ....................................................... 45 5.2.2. fifo................................................................................................................... ........................................................... 46 5.2.3. sync word recognition .................................................................................................. .............................................. 47 5.2.4. packet handler ......................................................................................................... .................................................... 48 5.2.5. control ................................................................................................................ .......................................................... 48 5.3. digital io pins mapping .......................... ........................................................................ .................................................. 48 5.3.1. dio pins mapping in cont inuous mode............ .............. .............. ........... ........... ........... ........... .................................... 49 5.3.2. dio pins mapping in packe t mode........................................................................................ ....................................... 49 5.4. continuous mode ............ .............. .............. .............. .............. .............. ........... ............ ..................................................... 50 5.4.1. general description .................................................................................................... .................................................. 50 5.4.2. tx processing .......................................................................................................... ..................................................... 50 5.4.3. rx processing.......................................................................................................... ..................................................... 51 5.5. packet mode.............................................................................................................. ....................................................... 51 5.5.1. general description .................................................................................................... .................................................. 51 5.5.2. packet format .......................................................................................................... .................................................... 52 5.5.3. tx processing (without aes) .............. .............. .............. .............. .............. ........... ........... ............................................ 54 5.5.4. rx processing (without aes)............................................................................................ ............................................ 55
www.semtech.com page 4 section page table of contents sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.5.5. aes for the transceiver m ode.............. .............. .............. .............. .............. ............ ......... ........................................... 55 5.5.6. standalone aes engine ........ .............. .............. .............. .............. ............ ........... .......... .............................................. 57 5.5.7. handling large packets................................................................................................. ............................................... 57 5.5.8. packet filtering ...................................................................................................... ....................................................... 59 5.5.9. dc-free data mechanisms ................................................................................................ .......................................... 60 6. configuration and status registers......................................................................................... .................................................. 62 6.1. general description ...................................................................................................... .................................................... 62 6.2. common configuration registers .................. ........................................................................ ........................................... 65 6.3. transmitter registers ................................................................................................... .................................................... 69 6.4. receiver registers ................................ ...................................................................... ..................................................... 70 6.5. irq and pin mapping registers ............................................................................................ ........................................... 72 6.6. packet engine registers ................................................................................................. ................................................. 74 6.7. temperature sensor registers............................................................................................. ............................................ 77 6.8. test registers........................................................................................................... ........................................................ 77 7. application information.................................................................................................... .......................................................... 79 7.1. crystal resonator specification.......................................................................................... .............................................. 79 7.2. reset of the chip ........................................................................................................ ...................................................... 79 7.2.1. por .................................................................................................................... .......................................................... 79 7.2.2. manual reset .......................................................................................................... ...................................................... 80 7.3. reference design ......................................................................................................... .................................................... 80 8. packaging information.................................. .................................................................... ......................................................... 83 8.1. package outline drawing and land pattern......... .............. .............. ........... ........... ........... ........... .................................... 83 8.2. thermal impedance........................................................................................................ .................................................. 83 8.3. tape & reel specification ........................ ........................................................................ ................................................ 84 9. revision history ........................................................................................................... ............................................................. 85
www.semtech.com page 5 section page table of contents sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation figures figure 1. block diagram ..................................................................................................... ................................................................. 8 figure 2. pin diagram (not to scale) ........................................................................................ ........................................................... 9 figure 3. marking diagram ................................................................................................... ............................................................... 9 figure 4. tcxo connection ................................................................................................... ........................................................... 16 figure 5. transmitter block diagram .................. ....................................................................... ....................................................... 19 figure 6. receiver block diagram ............................................................................................ ........................................................ 23 figure 7. agc thresholds settings .................... ....................................................................... ....................................................... 24 figure 8. rssi dynamic curve ................................................................................................ ......................................................... 28 figure 9. cordic extraction ................................................................................................. ............................................................... 28 figure 10. ook peak demodulator description ................................................................................. .............................................. 29 figure 11. floor threshold optimization ............. ........................................................................ ...................................................... 30 figure 12. bit synchronizer description ..................................................................................... ....................................................... 31 figure 13. fei process ...................................................................................................... ............................................................... 32 figure 14. optimized afc (afclowbe taon=1) ................................................................................... .............................................. 33 figure 15. temperature sensor response .............. ........................................................................ ................................................. 34 figure 16. tx startup, fsk and ook .......................................................................................... ..................................................... 37 figure 17. rx startup - no agc, no afc ...................................................................................... ................................................... 38 figure 18. rx startup - agc, no afc ......................................................................................... ...................................................... 38 figure 19. rx startup - agc and afc ......................................................................................... ..................................................... 38 figure 20. listen mode sequence (no wanted signal is received) ............. .............. .............. ........... .......... ...................................... 40 figure 21. listen mode sequence (wanted signal is re ceived) ....... .............. ........... ........... ........... ........... ........................................ 42 figure 22. auto modes of packet handler ............. ........................................................................ ................................................... 43 figure 23. sx1208 data processing conceptual view ........................................................................... .......................................... 44 figure 24. spi timing diagram (single access) ..... .......................................................................... ................................................. 45 figure 25. fifo and shift register (sr) ..................................................................................... ...................................................... 46 figure 26. fifolevel irq source behavior ............ .............. .............. ........... ........... ........... ........... ................................................... 47 figure 27. sync word recognition ............ .............. .............. .............. .............. .............. .......... ....................................................... 48 figure 28. continuous mode conceptual view ........ .......................................................................... ............................................... 50 figure 29. tx processing in continuous mode ...... .............. .............. .............. ........... ........... ........... ................................................ 50 figure 30. rx processing in continuous mode ...... .............. .............. .............. ........... ........... ........... ................................................ 51 figure 31. packet mode conceptual view ............... ....................................................................... .................................................. 52 figure 32. fixed length packet format ................. ...................................................................... ..................................................... 53 figure 33. variable length packe t format .................................................................................... ................................................... 53 figure 34. unlimited length packet format ................................................................................... ................................................... 54 figure 35. crc implementation ............................................................................................... ......................................................... 60 figure 36. manchester encoding/decoding ..................................................................................... ................................................. 61 figure 37. data whitening ................................................................................................... ............................................................. 61 figure 38. por timing diagram ............................................................................................... ........................................................ 79 figure 39. manual reset timing diagram ...................................................................................... .................................................. 80 figure 40. +13dbm schematic ..... .............. .............. .............. .............. .............. ............ .......... ......................................................... 80 figure 41. +17dbm schematic ..... .............. .............. .............. .............. .............. ............ .......... ......................................................... 81 figure 42. qfn 24 package outline drawing and land pa ttern ......... .............. ............ ........... ........... ......... .................................... 83 figure 43. tape & reel specification ............... .............. .............. ........... ........... ............ ........... ........................................................ 84
www.semtech.com page 6 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation tables table 1. sx1208 pinouts ...................................................................................................... ............................................................. 10 table 2. absolute maximum ratings ............................................................................................ ..................................................... 11 table 3. operating range ........ .............. .............. .............. .............. .............. .............. ......... ............................................................. 11 table 4. power consumption specif ication ..................................................................................... .................................................. 12 table 5. frequency synthesizer specification ........ ......................................................................... .................................................. 12 table 6. receiver specification .............................................................................................. ............................................................ 13 table 7. transmitter specification ........................................................................................... ........................................................... 14 table 8. digital specification ............................................................................................... ............................................................... 15 table 9. bit rate examples ...... ............................................................................................. ............................................................. 20 table 10. power amplifier mode selection truth table ......................................................................... ............................................ 21 table 11. high power settings ................................................................................................ ........................................................... 22 table 12. output power curves ........................ ........................................................................ ......................................................... 22 table 13. lna gain settings .................................................................................................. ............................................................ 23 table 14. receiver performance summary .............. ......................................................................... ................................................ 25 table 15. available rxbw settings ................... ......................................................................... ........................................................ 26 table 16. available dcc cutoff fr equencies .............. .............. .............. .............. .............. ............. ................................................. 27 table 17. preamble detector settings ................. ........................................................................ ...................................................... 34 table 18. basic transceiver modes ..................... ....................................................................... ....................................................... 36 table 19. range of durations in listen mode ......... ......................................................................... .................................................. 41 table 20. signal acceptance criteria in listen mode .......................................................................... .............................................. 41 table 21. end of listen cycle actions ........................................................................................ ....................................................... 41 table 22. status of fifo when switch ing between different modes of the chip .................................................. ............................ 47 table 23. dio mapping, continuous mode ....................................................................................... ................................................. 49 table 24. dio mapping, packet mo de ........................................................................................... .................................................... 49 table 25. registers summary .................................................................................................. .......................................................... 62 table 26. common configuration re gisters ..................................................................................... ................................................. 65 table 27. transmitter registers .............................................................................................. ........................................................... 69 table 28. receiver registers ............................ ..................................................................... ............................................................ 70 table 29. irq and pin mapping registers .............. ........................................................................ ................................................... 72 table 30. packet engine registers ............................................................................................ ........................................................ 74 table 31. temperature sensor registers ....................................................................................... ................................................... 77 table 32. test registers ..................................................................................................... ............................................................... 77 table 33. crystal specification .............................................................................................. ............................................................. 79 table 34. +13dbm bom ......................................................................................................... ............................................................ 81 table 35. +17dbm bom ......................................................................................................... ............................................................ 82 table 36. revision history ................................................................................................... .............................................................. 85
www.semtech.com page 7 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation acronyms bom bill of materials lsb least significant bit br bit rate msb most significant bit bw bandwidth nrz non return to zero ccitt comit consultatif international tlphonique et tlgraphique - itu ook on off keying crc cyclic redundancy check pa power amplifier dac digital to analog converter pcb printed circuit board etsi european telecommunications standards institute pll phase-locked loop fcc federal communications commission por power on reset fdev frequency deviation rbw resolution bandwidth fifo first in first out rf radio frequency fir finite impulse response rssi received signal strength indicator fs frequency synthesizer rx receiver fsk frequency shift keying saw surface acoustic wave gui graphical user interface spi serial peripheral interface ic integrated circuit sr shift register id identificator stby standby if intermediate frequency tx transmitter irq interrupt request uc microcontroller itu international telecommunication union vco voltage controlled oscillator lfsr linear feedback shift register xo crystal oscillator lna low noise amplifier xor exclusive or lo local oscillator
www.semtech.com page 8 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation this product datasheet contains a detailed description of the sx1208 performance and functi onality. please consult the semtech website for the la test updates or errata. 1. general description the sx1208 is a single-chip integrated circuit ideally suited for today's high pe rformance ism band rf applications. the sx1208's advanced features set, including state of the art packet engine greatly simplifies system design whilst the high level of integration reduces the external bom to a handful of passive decoupling and matching components. it is intended for use as high-performance, low-cost fsk and ook rf transc eiver for robust frequency agile, half-duplex bi-directional rf links, and where stable and constant rf performance is required over the full operating range of the device down to 2.4v. the sx1208 is intended for applications over 290 mhz to 510 mhz frequency range, incl uding the 315 mhz and 434 mhz ism bands. coupled with a link budget in excess of 142 db, the advanced system features of the sx1208 include a 66 byte tx/rx fifo, configurable automatic packet handler, listen mode , temperature sensor and configurable dios which greatly enhance system flexibility whilst at the same ti me significantly reducing mcu requirements. the sx1208 complies with both etsi and fcc regulatory requirements and is available in a 5 x 5 mm qfn 24 lead package. 1.1. simplified block diagram figure 1. block diagram lna single to differential mixers ??? modulators decimation and & filtering demodulator & bit synchronizer interpolation & filtering modulator packet engine & 66 bytes fifo control registers - shift registers - spi interface rssi afc division by 2, 4 or 6 frac-n pll synthesizer xo 32 mhz xtal pa0 pa1&2 tank inductor loop filter rfio pa_boost reset gnd power distribution system vbat1&2 vr_ana vr_dig vr_pa ramp & control rc oscillator frequency synthesis receiver blocks transmitter blocks control blocks primarily analog primarily digital gnd spi dio0 rxtx dio1 dio2 dio3 dio4 dio5
www.semtech.com page 9 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 1.2. pin and marking diagram the following diagram shows the pin arrangement, top view. figure 2. pin diagram (not to scale) figure 3. marking diagram notes yyww refers to the date code xxxxxx refers to the lot number
www.semtech.com page 10 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 1.3. pin description table 1 sx1208 pinouts note pa_boost can be left floating if unused pin name type description 0 ground - exposed ground pad 1 vbat1 - supply voltage 2vr_ana - regulated supply voltage for analogue circuitry 3 vr_dig - regulated supply voltage for digital blocks 4xta i/o xtal connection 5xtb i/o xtal connection 6 reset i/o reset trigger input 7dio0 i/o digital i/o, software configured 8 dio1/dclk i/o digital i/o, software configured 9dio2/data i/o digital i/o, software configured 10 dio3 i/o digital i/o, software configured 11 dio4 i/o digital i/o, software configured 12 dio5 i/o digital i/o, software configured 13 vbat2 - supply voltage 14 gnd - ground 15 sck i spi clock input 16 miso o spi data output 17 mosi i spi data input 18 nss i spi chip select input 19 rxtx o rx/tx switch control 20 gnd - ground 21 rfio i/o rf input / output 22 gnd - ground 23 pa_boost o optional high-power pa output 24 vr_pa - regulated supply for the pa
www.semtech.com page 11 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 2. electrical characteristics 2.1. esd notice the sx1208 is a high performance r adio frequency device. it satisfies: ? class 2 of the jedec standard jesd22-a114-b (human body model) on all pins. ? class iv of the jedec standard jesd22-c101c (charged device model) on pins vr_ana, vr_dig, rfio, pa_boost, vr_pa, class iii on all other pins. it should thus be handled with all the necessary esd precautions to avoid any permanent damage. 2.2. absolute maximum ratings stresses above the values listed below may cause permanent device failure. exposure to absolute maximum ratings for extended periods may af fect device reliability. table 2 absolute maximum ratings 2.3. operating range table 3 operating range symbol description min max unit vddmr supply voltage -0.5 3.9 v tmr temperature -55 +115 c tj junction temperature - +125 c pmr rf input level - +6 dbm dc_20dbm duty cycle of transmission at +20dbm output - 1 % vswr_20dbm maximum vswr at antenna port - 3:1 - symbol description min max unit vddop supply voltage 2.4 3.6 v to p operational temperature range -40 +85 c clop load capacitance on digital ports - 25 pf ml rf input level - 0 dbm
www.semtech.com page 12 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 2.4. chip specification the tables below give the electrical spec ifications of the transceiver under the following conditions: supply voltage vbat1= vbat2=vdd=3.3 v, temperature = 25 c, fxosc = 32 mhz, f rf = 434 mhz, pout = +13dbm, 2-level fsk modulation without pre-filtering, fda = 5 khz, bit rate = 4.8 kb/s an d terminated in a matched 50 ohm impedance, unless otherwise specified. note unless otherwise specified, the performances in the other frequency bands are similar or better. 2.4.1. power consumption table 4 power consumption specification 2.4.2. frequency synthesis table 5 frequency synthesizer specification symbol description conditions min typ max unit iddsl supply current in sleep mode - 0.1 1 ua iddidle supply current in idle mode rc oscillator enabled - 1.2 - ua iddst supply current in standby mode crystal oscillator enabled - 1.25 1.5 ma iddfs supply current in synthesizer mode - 9 - ma iddr supply current in receive mode - 16 - ma iddt supply current in transmit mode with appropriate matching, stable across vdd range rfop = +20 dbm, on pa_boost rfop = +17 dbm, on pa_boost rfop = +13 dbm, on rfio pin rfop = +10 dbm, on rfio pin rfop = 0 dbm, on rfio pin rfop = -1 dbm, on rfio pin - - - - - - 120 95 45 33 20 16 - - - - - - ma ma ma ma ma ma symbol description conditions min typ max unit fr synthesizer frequency range programmable 290 424 - - 340 510 mhz mhz fxosc crystal oscillator frequency see section 7.1 - 32 - mhz ts_osc crystal oscillator wake-up time - 250 500 us ts_fs frequency synthesizer wake-up time to plllock signal from standby mode - 80 150 us ts_hop frequency synthesizer hop time at most 10 khz away from the target 200 khz step 1 mhz step 5 mhz step 7 mhz step 12 mhz step 20 mhz step 25 mhz step - - - - - - - 20 20 50 50 80 80 80 - - - - - - - us us us us us us us fstep frequency synthesizer step fstep = fxosc/2 19 - 61.0 - hz
www.semtech.com page 13 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 2.4.3. receiver all receiver tests are performed with rxbw = 10 khz (single side bandwidth) as programmed in regrxbw , receiving a pn15 sequence with a ber of 0. 1% (bit synchronizer is enabled), unless otherwise specified. blocking tests are performed with an unmodulated interferer. the wanted signal power for the blocking immuni ty, acr, iip2, iip3 and amr tests is set 3 db above the nominal sensitivity level. table 6 receiver specification frc rc oscillator frequency after calibration - 62.5 - khz brf bit rate, fsk programmable 0.6 - 100 kbps bro bit rate, ook programmable 1 - 10 kbps fda frequency deviation, fsk programmable fda + brf/2 =< 500 khz 0.6 - 100 khz symbol description conditions min typ max unit rfs_f fsk sensitivity, highest lna gain fda = 1.2 khz, br = 600bps fda = 5 khz, br = 4.8 kb/s fda = 100 khz, br = 100 kbps - - - -124 -114 -105 - - - dbm dbm dbm rfs_o ook sensitivity, highest lna gain br = 1kbps - -122 - dbm ccr co-channel rejection -13 -10 - db acr adjacent channel rejection offset = +/- 25 khz offset = +/- 50 khz - 37 42 42 - - db db bi blocking immunity offset = +/- 1 mhz offset = +/- 2 mhz offset = +/- 10 mhz - - - 66 71 79 - - - db db db blocking immunity wanted signal at sensitivity +16db offset = +/- 1 mhz offset = +/- 2 mhz offset = +/- 10 mhz - - - 62 65 73 - - - db db db amr am rejection, am modulated interferer with 100% modulation depth, fm = 1 khz, square offset = +/- 1 mhz offset = +/- 2 mhz offset = +/- 10 mhz - - - 66 71 79 - - - db db db iip2 2nd order input intercept point unwanted tones are 20 mhz above the lo lowest lna gain highest lna gain - - +75 +35 - - dbm dbm iip3 3rd order input intercept point unwanted tones are 1mhz and 1.995 mhz above the lo lowest lna gain highest lna gain - -23 +20 -18 - - dbm dbm bw_ssb single side channel filter bw programmable 2.6 - 250 khz imr_ook image rejection in ook mode wanted signal level = -106 dbm 27 30 - db
www.semtech.com page 14 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation * set sensitivityboost in regt estlna to 0x2d to reduce the noise floor in the receiver 2.4.4. transmitter table 7 transmitter specification ts_re receiver wake-up time, from pll locked state to rxready rxbw = 10 khz, br = 4.8 kb/s rxbw = 200 khz, br = 100 kb/s - - 1.7 96 - - ms us ts_re_agc receiver wake-up time, from pll locked state, agc enabled rxbw = 10 khz, br = 4.8 kb/s rxbw = 200 khz, br = 100 kb/s - 3.0 163 ms us ts_re_agc &afc receiver wake-up time, from pll lock state, agc and afc enabled rxbw = 10 khz, br = 4.8 kb/s rxbw = 200 khz, br = 100 kb/s 4.8 265 ms us ts_fei fei sampling time receiver is ready - 4.t bit - - ts_afc afc response time receiver is ready - 4.t bit - - ts_rssi rssi response time receiver is ready - 2.t bit - - dr_rssi rssi dynamic range agc enabled min max - - -115 0 - - dbm dbm symbol description conditions min typ max unit rf_op rf output power in 50 ohms on rfio pin programmable with 1db steps max min - - +13 -18 - - dbm dbm rf_oph max rf output power, on pa_ - boost pin with external match to 50 ohms max duty cycle of 1%, maxvswr of 3:1 - +20 - dbm rf_op rf output power stability from vdd=2.4v to 3.6v - +/-0.3 - db phn transmitter phase noise 50 khz offset from carrier - -99 - dbc/ hz acp transmitter adjacent channel power (measured at 25 khz off - set) bt=0.5 . measurement conditions as - - -37 dbm ts_tr transmitter wake up time, to the first rising edge of dclk frequency synthesizer enabled, par - amp = 10 us, br = 4.8 kb/s. - 120 - us
www.semtech.com page 15 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 2.4.5. digital specification conditions: temp = 25c, vdd = 3.3v, fxosc = 32 mhz, unless otherwise specified. table 8 digital specification symbol description conditions min typ max unit v ih digital input level high 0.8 - - vdd v il digital input level low - - 0.2 vdd v oh digital output level high imax = 1 ma 0.9 - - vdd v ol digital output level low imax = -1 ma - - 0.1 vdd f sck sck frequency - - 10 mhz t ch sck high time 50 - - ns t cl sck low time 50 - - ns t rise sck rise time - 5 - ns t fall sck fall time - 5 - ns t setup mosi setup time from mosi change to sck rising edge 30 - - ns t hold mosi hold time from sck rising edge to mosi change 60 - - ns t nsetup nss setup time from nss falling edge to sck rising edge 30 - - ns t nhold nss hold time from sck falling edge to nss rising edge, normal mode 100 - - ns t nhigh nss high time between spi accesses 20 - - ns t_data data hold and setup time 250 - - ns
www.semtech.com page 16 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3. chip description this section describes in depth the architecture of the sx1208 low-power, highly integrated transceiver. 3.1. power supply strategy the sx1208 employs an advanced power supply scheme, whic h provides stable operating characteristics over the full temperature and voltage range of operation. this includes the full output power of +20dbm wh ich is maintained from 2.4v to 3.6 v. the sx1208 can be powered from any low-noise voltage source via pins vbat1 and vbat2. decoupling capacitors should be connected, as suggested in the reference design, on vr_p a, vr_dig and vr_ana pins to ensure a correct operation of the built-in voltage regulators. 3.2. low battery detector a low battery detector is also included allowing the ge neration of an interrupt signal in response to passing a programmable threshold adjust able through the register reglowbat . the interrupt signal can be mapped to any of the dio pins, through the programing of regdiomapping . 3.3. frequency synthesis the lo generation on the sx1208 is based on a state-of-the-art fractional-n pll. the pll is fully integrated with automatic calibration. 3.3.1. reference oscillator the crystal oscillator is the main timing reference of the sx1208 . it is used as a reference for the frequency synthesizer and as a clock for the digital processing. the xo startup time, ts_osc, depends on the actual xtal be ing connected on pins xta and xtb. when using the built- in sequencer, the sx1208 optimizes the startup time and automa tically triggers the pll when the xo signal is stable. to manually control the startup time, the us er should either wait for ts_osc max, or monitor the signal clkout which will only be made available on the output buffer when a stable xo oscillation is achieved. an external clock can be used to replace the crystal oscillat or, for instance a tight tolerance tcxo. to do so, bit 4 at address 0x59 should be set to 1, and the external clock has to be provided on xta (pin 4). xtb (pin 5) should be left open. the peak-peak amplitude of the input signal must never e xceed 1.8 v. please consult your tcxo supplier for an appropriate value of decoupling capacitor, c d . figure 4. tcxo connection xta xtb 32 mhz tcxo nc op vcc gnd c d vcc
www.semtech.com page 17 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.3.2. clkout output the reference frequency, or a fraction of it, can be provided on dio5 (pin 12) by modifying bits clkout in regdiomapping2 . two typical applications of the clkout output include: ? to provide a clock output for a companion processor, thus sa ving the cost of an addition al oscillator. clkout can be made available in any operation mode except sleep mode and is automatically enabled at power on reset. ? to provide an oscillator reference output . measurement of the clkout signal enab les simple software trimming of the initial crystal tolerance. note to minimize the current consumpti on of the sx1208, please ensure that t he clkout signal is disabled when not required. 3.3.3. pll architecture the frequency synthesizer generating the lo frequency for both the receiver and the transmitter is a fractional-n sigma- delta pll. the pll incorporates a third order loop capable of fast auto-calibration, and it has a fast switching-time. the vco and the loop filter are both fully integrated, removing the need for an external tight-tolerance, high-q inductor in the vco tank circuit. 3.3.3.1. vco the vco runs at 4 or 6 times the rf frequency (respectiv ely 434 and 315 mhz bands) to reduce any lo leakage in receiver mode, to improv e the quadrature precision of the receiver, and to reduce th e pulling effects on the vco during transmission. the vco calibration is fully automated. a coarse adjustment is carried out at power on reset, and a fine tuning is performed each time the sx1208 pll is activated. automatic calib ration times are fully transparent to the end-user, as their processing time is included in the ts_te and ts_re specifications. 3.3.3.2. pll bandwidth the bandwidth of the sx1208 fractional-n pll is wide enough to allow for: ? high speed fsk modulation, up to 100 kb/s, inside the pll bandwidth ? very fast pll lock times, enabling both short startup and fast hop times required for frequency agile applications 3.3.3.3. carrier frequency and resolution the sx1208 pll embeds a 19-bit sigma-delta modulator and it s frequency resolution, constant over the whole frequency range, and is given by: the carrier frequency is programmed through regfrf , split across addresses 0x07 to 0x09: note the frf setting is split across 3 bytes. a change in the center frequenc y will only be taken into account when the least significant byte frflsb in regfrflsb is written. this allows for more complex modulation schemes such as m- ary fsk, where frequency modulation is achieved by changing the programmed rf frequency. f step f xosc 2 19 ---------------- = f rf f step frf 23 0 (,) ? =
www.semtech.com page 18 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.3.4. lock time pll lock time ts_fs is a function of a number of technical factors, su ch as synthesized frequency, frequency step, etc. when using the built-in sequencer, the sx1208 optimizes the st artup time and automatically starts the receiver or the transmitter when the pll has locked. to manually contro l the startup time, the user should either wait for ts_fs max given in the specification, or monitor the signal pll lock detect in dicator, which is set when th e pll has is within its locking range. when performing an afc, which usually corrects very small frequency errors, the pll response time is approximately: in a frequency hopping scheme, the timings ts_hop given in the table of specifications give an order of magnitude for the expected lock times. 3.3.5. lock detect indicator a lock indication signal can be made available on some of the dio pins, and is toggled high when the pll reaches its locking range. please refer to ta b l e 23 and ta b l e 24 to map this interrupt to the desired pins. note the lock detect block may indicate an unlock condition (signal toggling low) when th e transmitter is fsk modulated with large frequency deviation settings. t pllafc 5 pllbw ------------------- - =
www.semtech.com page 19 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.4. transmitter description the transmitter of sx1208 comprises the frequency synthesizer, modulator and power amplifier blocks. 3.4.1. architecture description figure 5. transmitter block diagram 3.4.2. bit rate setting when using the sx1208 in continuous mode, the data stream to be transmitted can be input directly to the modulator via pin 9 (dio2/data) in an asynchronous manne r, unless gaussian filtering is used, in which case the dclk signal on pin 10 (dio1/dclk) is used to synchron ize the data stream. see section 3.4.5 for details on the gaussian filter. in packet mode or in continuous mode with gaussian filtering enabl ed (refer to section 5.5 for details), the bit rate (br) is controlled by bits bitrate in regbitrate : amongst others, the following bit rates are accessible: lna receiver chain rfio local oscillator pa0 pa1 pa2 pa_boost br f xosc bitrate ------------------- - =
www.semtech.com page 20 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation table 9 bit rate examples 3.4.3. fsk modulation fsk modulation is performed inside the pll bandwidth, by chan ging the fractional divider ratio in the feedback loop of the pll. the large resolution of the sigma-delta modulator, a llows for very narrow frequency deviation. the frequency deviation fdev is given by: to ensure a proper modulation, the following limit applies: note no constraint applies to the modulation index of the transmitter, but the frequency deviation must exceed 600 hz. 3.4.4. ook modulation ook modulation is applied by switching on and off the powe r amplifier. digital control and smoothing are available to improve the transient power response of the ook transmitter. type bitrate (15:8) bitrate (7:0) (g)fsk (g)msk ook actual br (b/s) classical modem baud rates (multiples of 1.2 kbps) 0x68 0x2b 1.2 kbps 1.2 kbps 1200.015 0x34 0x15 2.4 kbps 2.4 kbps 2400.060 0x1a 0x0b 4.8 kbps 4.8 kbps 4799.760 0x0d 0x05 9.6 kbps 9.6 kbps 9600.960 0x06 0x83 19.2 kbps 19196.16 0x03 0x41 38.4 kbps 38415.36 0x01 0xa1 76.8 kbps 76738.60 classical modem baud rates (multiples of 0.9 kbps) 0x02 0x2c 57.6 kbps 57553.95 round bit rates (multiples of 12.5, 25 and 50 kbps) 0x0a 0x00 12.5 kbps 12500.00 0x05 0x00 25 kbps 25000.00 0x02 0x80 50 kbps 50000.00 0x01 0x40 100 kbps 100000.0 watch xtal frequency 0x03 0xd1 32.768 kbps 32.768 kbps 32753.32 f dev f step fdev 13 0 (,) ? = f dev br 2 ------- 500 khz ? +
www.semtech.com page 21 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.4.5. modulation shaping modulation shaping can be applied in both ook and fsk modulation modes, to improve the narrowband response of the transmitter. both shaping features are controlled with paramp bits in regparamp . ? in fsk mode, a gaussian filter with bt = 0.3, 0.5 or 1 is used to filter the modulation stream, at the input of the sigma- delta modulator. if the gaussian filter is enabled when the sx1208 is in c ontinuous mode, dclk signal on pin 10 (dio1/dclk) will trigger an interr upt on the uc each time a new bit has to be transmitted. please refer to section 5.4.2 for details. ? when ook modulation is used, the pa bias voltages are ra mped up and down smoothly when the pa is turned on and off, to reduce spectral splatter. note the transmitter must be restarted if the modulationshap ing setting is changed, in order to recalibrate the built-in filter. 3.4.6. power amplifiers three power amplifier blocks are embedded in the sx1208. the first one, herein referred to as pa0, can generate up to +13 dbm into a 50 ohm load. pa0 shares a common front-end pin rfio (pin 21) with the receiver lna. pa1 and pa2 are both connected to pin pa_boost (p in 23), allowing for two distinct power ranges: ? a low power mode, where -2 dbm < pout < 13 dbm, with pa1 enabled ? a higher power mode, when pa1 and pa2 are combined, providing up to +20 dbm to a matched load. when pa1 and pa2 are combined to deliver +20 dbm to the an tenna, a specific impedance matching / harmonic filtering design is required to ensure impedance transformation and regulatory compliance. all pa settings are controlled by regpalevel , and the truth table of settings is given in ta b l e 10 . table 10 power amplifier mode selection truth table notes - to ensure correct operation at the highest power leve ls, please make sure to adjust the over current protection limit accordingly in regocp, except above +18dbm where it must be disabled - if pa_boost pin is not used (+13dbm applications and less), the pin can be left floating. pa0on pa1on pa2on mode power range pout formula 100 pa0 output on pin rfio -18 to +13 dbm -18 dbm + outputpower 0 1 0 pa1 enabled on pin pa_boost -2 to +13 dbm -18 dbm + outputpower 0 11 pa1 and pa2 combined on pin pa_boost +2 to +17 dbm -14 dbm + outputpower 0 1 1 pa1+pa2 on pa_boost with high output power +20dbm settings (see 3.4.7) +5 to +20 dbm -11 dbm + outputpower other combinations reserved
www.semtech.com page 22 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.4.7. high power settings the sx1208 has a high power +20 dbm capability on pa_boost pin, wit h the following settings: table 11 high power settings note high power settings must be turned off when using pa0, and in receive mode the duty cycle of transmission at +2 0dbm is limited to 1%, with a maximum vswr of 3:1 at antenna port, over the standard operating range [-40;+85c]. for any other opera ting condition, contact your semtech representative. 3.4.8. output power summary the curves below summarize the possible pa options on the sx1208: table 12: output power curves 3.4.9. over current protection an over current protection block is built-in the chip. it helps preventing surge currents require d when the transmitter is used at its highest power levels, thus protecting the battery th at may power the application. the current clamping value is controlled by ocptrim bits in regocp , and is calculated with the following formula: note imax sets the maximum current drawn by the final pa stage, and does not account for the pa drivers and frequency synthesizer. gl obal current drain on vbat will be higher. register address value for high power value for rx or pa0 use description regocp 0x13 0x0f 0x1x ocp control regtestpa1 0x5a 0x5d 0x55 high power pa control regtestpa2 0x5c 0x7c 0x70 high power pa control pout vs. programmed power -22 -18 -14 -10 -6 -2 2 6 10 14 18 22 -18 -14 -10 -6 -2 2 6 10 14 18 program m e d pow e r [dbm ] pout [dbm] pout on pa0 [dbm] pout on pa1 [dbm] pout on pa1+pa2 [dbm] pout on pa1+pa2 with 20dbm settings [dbm] imax 45 5 ocptrim ? ma ?? + =
www.semtech.com page 23 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5. receiver description the sx1208 features a digital receiver wit h the analog to digital conversion proc ess being performed di rectly following the lna-mixers block. the zero-if receiver is able to handle (g)fsk and (g)msk modulation. ask and ook modulation is, however, demodulated by a low-if architecture. all the filter ing, demodulation, gain control, synchronization and packet handling is performed digitally, which allows a very wide range of bit rates and frequency deviations to be selected. the receiver is also capable of automa tic gain calibration in order to im prove precision on rssi measurements. 3.5.1. block diagram figure 6. receiver block diagram the following sections give a brief description of each of the receiver blocks. 3.5.2. lna - single to differential buffer the lna uses a common-gate topology, which allows for a flat characteristic over the whole frequency range. it is designed to have an input impedance of 50 oh ms or 200 ohms (as selected with bit lnazin in reglna) , and the parasitic capacitance at the lna input port is cance lled with the external rf choke. a single to differential buffer is implemented to improve the second order linearity of the receiver. the lna gain, including the single-to-differential buffer, is pr ogrammable over a 48 db dynami c range, and control is either manual or automatic with th e embedded agc function. note in the specific case where the lna ga in is manually set by the user, the rece iver will not be able to properly handle fsk signals with a modulation index smaller than 2 at an input power greater than the 1db compression point, tabulated in section 3.5.3. table 13 lna gain settings lnagainselect lna gain gain setting 000 any of the below, set by the agc loop - 001 max gain g1 010 max gain - 6 db g2 011 max gain - 12 db g3 100 max gain - 24 db g4 101 max gain - 36 db g5 110 max gain - 48 db g6 111 reserved - lna single to differential mixers ??? modulators decimator rssi afc rfio fsk demodulator from pa1 local oscillator channel fil ter dc cancellation rx calibration reference bypassed in fsk phase output module output complex fi lter cordic ook demodulator processing agc
www.semtech.com page 24 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.3. automatic gain control by default ( lnagainselect = 000 ), the lna gain is controlled by a digital agc loop in order to obtain the optimal sensitivity/ linearity trade-off. regardless of the data transfer mode (packet or continuous), the following series of events takes place when the receiver is enabled: ? the receiver stays in wait mode, until rssivalue exceeds rssithreshold for two consecutive samples. its power consumption is the receiver power consumption. ? when this condition is satisfied, the receiver automatically selects the most suitable lna gain, optimizing the sensitivity/ linearity trade-off. ? the programmed lna gain, read-accessible with lnacurrentgain in reglna , is carried on for the whole duration of the packet, until one of the followi ng conditions is fulfilled: ? packet mode: if autorxrestarton = 0, the lna gain will remain the same for th e reception of the following packet. if autorxrestarton = 1 , after the controller has emptie d the fifo the receiver will re- enter the wait mode described above, after a delay of interpacketrxdelay , allowing for the distant transmitter to ramp down, hence avoiding a false rssi detection. in both cases (autorxrestarton=0 or autorxrestarton=1), the receiver can also re-enter the wait mode by setting restartrx bit to 1. the user can decide to do so, to manually launch a new agc procedure. ? continuous mode: upon reception of valid data, the user can decide to either leave the receiver enabled with the same lna gain, or to restart the procedure, by setting restartrx bit to 1, resuming the wait mode of the receiver, described above. notes - the agc procedure must be performed while receiving preamble in fsk mode - in ook mode, the agc will give better results if performed while re ceiving a constant ?1? sequence the following figure illust rates the agc behavior: figure 7. agc thresholds settings the following table summarizes the performance (typical figures) of the complete receiver: towards -125 dbm ? ag c r e f e r e n c e ? a g c t h r e s h 1 ? a g c t h r e s h 2 ? ag c t h r e s h 3 ? a g c t h r e s h 4 pin [dbm] ? a g c t h r e s h 5 16db 7db 11db 9db 11db g1 g2 g3 g4 g5 g6 higher sensitivity lower linearity lower noise figure lower sensitivity higher linearity higher noise figure
www.semtech.com page 25 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation table 14 receiver performance summary 3.5.3.1. rssithreshold setting for correct operation of the agc, rssithreshold in regrssithresh must be set to the sensit ivity of the receiver. the receiver will remain in wait mode until rssithreshold is exceeded. note when afc is enabled and performed automatically at the receiver startup, the channel filter used by the receiver during the afc and the agc is rxbwafc instead of the stand ard rxbw setting. this may impact the sensitivity of the receiver, and the setting of rssithreshold accordingly 3.5.3.2. agc reference the agc reference level is automatically computed in the sx1208, according to: agc reference [dbm] = -174 + nf + demodsnr +10.log(2* rxbw ) + fadingmargin [dbm] with: ? nf = 10db : lna?s noise figure at maximum gain ? demodsnr = 8 db : snr needed by the demodulator ? rxbw : single sideband channel filter bandwidth ? fadingmargin = 5 db : fading margin 3.5.4. continuous-time dagc in addition to the automatic gain control described in section 3.5.3 , the sx1208 is capable of continuously adjusting its gain in the digital domain, after the analog to digital conversion ha s occured. this feature, named dagc, is fully transparent to the end user. the digital gain adjustment is repea ted every 2 bits, and has the following benefits: ? fully transparent to the end user ? improves the fading margin of the receiver during the rece ption of a packet, even if the gain of the lna is frozen ? improves the receiver robustness in fast fading signal condit ions, by quickly adjusting the receiver gain (every 2 bits) ? works in continuous, packet, and unlimited length packet modes the dagc is enabled by setting regtestdagc to 0x20 for low modulation index systems (i.e. when afclowbetaon =1, refer to section 3.5.16 ), and 0x30 for other systems. see section 9.6 for details. it is recommended to always enable the dagc. input power pin gain setting receiver performance (typ) p -1db [dbm] nf [db] iip3 [dbm] iip2 [dbm] pin < agcthresh1 g1 -37 10 -18 +35 agcthresh1 < pin < agcthresh2 g2 -31 13 -15 +40 agcthresh2 < pin < agcthresh3 g3 -26 18 -8 +48 agcthresh3 < pin < agcthresh4 g4 -14 27 -1 +62 agcthresh4 < pin < agcthresh5 g5 >-6 36 +13 +68 agcthresh5 < pin g6 >0 44 +20 +75
www.semtech.com page 26 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.5. quadrature mixer - adcs - decimators the mixer is inserted between output of the rf buffer stage and the input of the analog to digital converter (adc) of the receiver section. this block is designed to translate the spectr um of the input rf signal to base-band, and offer both high iip2 and iip3 responses. thanks to its low band of operation (290 to 510 mhz), the multi-phase mixing architecture with weighted phases improves the rejection of the lo harmonics in receiver mode, hence in creasing the receiver immunity to out-of-band interferers. the i and q digitalization is made by two 5 th order continuous-time sigma-delta anal og to digital converters (adc). their gain is not constant over temperature, but the whole receiver is calibrated before reception, so that this inaccuracy has no impact on the rssi precision . the adc output is one bit per channel. it need s to be decimated and filtered afterwards. this adc can also be used for temperature measurement, please refer to section 3.5.17 for more details. the decimators decrease the sample rate of the incoming sign al in order to optimize the area and power consumption of the following receiver blocks. 3.5.6. channel filter the role of the channel filter is to filt er out the noise and interferers outside of the channel. channel filtering on the sx12 08 is implemented with a 16-tap finite impulse response (fir) filter, providing an outstandi ng adjacent chan nel rejection performance, even for narrowband applications. note to respect oversampling rules in the decimation chain of the receiver, the bit rate cannot be set at a higher value than 2 times the single-side receiv er bandwidth (bit rate < 2 x rxbw) the single-side channel filter bandwidth rxbw is controlled by the parameters rxbwmant and rxbwexp in regrxbw: ? when fsk modulation is enabled: ? when ook modulation is enabled: the following channel filter b andwidths are accessible (oscilla tor is mandated at 32 mhz): table 15 available rxbw settings rxbwmant (binary/value) rxbwexp (decimal) rxbw (khz) fsk modulationtype=00 ook modulationtype=01 10b / 24 7 2.6 1.3 01b / 20 7 3.1 1.6 00b / 16 7 3.9 2.0 10b / 24 6 5.2 2.6 01b / 20 6 6.3 3.1 00b / 16 6 7.8 3.9 10b / 24 5 10.4 5.2 01b / 20 5 12.5 6.3 00b / 16 5 15.6 7.8 10b / 24 4 20.8 10.4 rxbw fxosc rxbwmant 2 rxbwexp 2 + ? ----------------------------------------------------------------- - = rxbw fxosc rxbwmant 2 rxbwexp 3 + ? ----------------------------------------------------------------- - =
www.semtech.com page 27 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.7. dc cancellation dc cancellation is required in zero-if architecture transceivers to remove any dc offset generated through self-reception. it is built-in the sx1208 and its adjustable cutoff frequency fc is controlled in regrxbw : table 16 available dcc cutoff frequencies the default value of dccfreq cutoff frequency is typically 4% of the rxbw (channel filter bw). the cutoff frequency of the dcc can however be increased to slightly impr ove the sensitivity, under wider modulation conditio ns. it is advised to adjust the dcc setting while monitori ng the receiver sensitivity. 3.5.8. complex filter - ook in ook mode the sx1208 is modified to a lo w-if architecture. the if frequency is aut omatically set to half the single side bandwidth of the channel filter (f if = 0.5 x rxbw ). the local oscillator is automatically offset by the if in the ook receiver. a complex filter is implemented on the chip to attenu ate the resulting image frequency by typically 30 db. note this filter is au tomatically bypassed when receivin g fsk signals (modulationtype = 00 in regdatamodul). 3.5.9. rssi the rssi block evaluates the amount of en ergy available within the receiver channel bandwidth. its resolution is 0.5 db, and it has a wide dynamic range to accommodate both small an d large signal levels that may be present. its acquisition time is very short, taking only 2 bit periods. the rssi sampli ng must occur during the reception of preamble in fsk, and constant ?1? reception in ook. 01b / 20 4 25.0 12.5 00b / 16 4 31.3 15.6 10b / 24 3 41.7 20.8 01b / 20 3 50.0 25.0 00b / 16 3 62.5 31.3 10b / 24 2 83.3 41.7 01b / 20 2 100.0 50.0 00b / 16 2 125.0 62.5 10b / 24 1 166.7 83.3 01b / 20 1 200.0 100.0 00b / 16 1 250.0 125.0 dccfreq in regrxbw fc in % of rxbw 000 16 001 8 010 (default) 4 011 2 100 1 101 0.5 110 0.25 111 0.125
www.semtech.com page 28 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation notes - rssivalue can only be read when it exceeds rssithreshold - rssistart command and rssidone flags are not usab le when dagc is turned on, see section 3.5.4. - the receiver is capable of automatic gain calibration, in order to improve the precision of its rssi measurements. this function injects a known rf signal at the lna in put, and calibrates the receiver gain accordingly. this calibration is automatically performed during the pll st art-up, making it a transparent process to the end-user - rssi accuracy depends on all components located between the antenna port and pin rfio, and is therefore limited to a few db. board-level calibration is advised to further improve accuracy figure 8. rssi dynamic curve 3.5.10. cordic the cordic task is to extract the phase a nd the amplitude of the modulation vector (i+ j q). this information, still in the digital domain is used: ? phase output: used by the fsk demodulator and the afc blocks. ? amplitude output: used by the rssi block, for fsk demo dulation, agc and automatic gain calibration purposes. figure 9. cordic extraction rssi chart - with agc -120.0 -100.0 -80.0 -60.0 -40.0 -20.0 0.0 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 pin [dbm] rssivalue [dbm] i(t) q(t) real-time phase real-time magnitude
www.semtech.com page 29 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.11. fsk demodulator the fsk demodulator of the sx1208 is designed to demodula te fsk, gfsk, msk and gmsk modulated signals. it is most efficient when the modulation index of the signal is greater than 0.5 and below 10: the output of the fsk demodulator can be fed to the bit synchronizer (described in section 3.5.13 ), to provide the companion processor with a synchronous data stream in continuous mode. 3.5.12. ook demodulator the ook demodulator performs a comparison of the rssi outpu t and a threshold value. three different threshold modes are available, configured through bits ookthreshtype in regookpeak . the recommended mode of operation is the "peak" threshold mode, illustrated in figure 10 : figure 10. ook peak demodulator description in peak threshold mode the comparison threshold level is the peak value of the rssi, reduc ed by 6db. in the absence of an input signal, or during the reception of a logical "0", the acquired peak value is decremented by one ookpeakthreshstep every ookpeakthreshdec period. when the rssi output is null for a long time (for instance after a long string of "0" received, or if no transmitter is present ), the peak threshold level will continue falling until it reaches the "f loor threshold", programmed in ookfixedthresh . the default settings of the ook demodulator lead to the perfor mance stated in the electrical specification. however, in applications in which sudden signal drops are awaited duri ng a reception, the three parameters should be optimized accordingly. 0.5 ? ? 2 f dev ? br ---------------------- 10 ? = zoom period as defined in ookpeakthreshdec decay in db as defined in ookpeakthreshstep fixed 6db difference rssi [dbm] noise floor of receiver ??floor?? threshold defined by ookfixedthresh time ??peak -6db?? threshold zoom
www.semtech.com page 30 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.12.1. optimizing the floor threshold ookfixedthresh determines the sensitivity of the ook receiver, as it sets the comparison thres hold for weak input signals (i.e. those close to the noise floor). significant sensitiv ity improvements can be gener ated if configured correctly. note that the noise floor of the receiver at the demodulator input depends on: ? the noise figure of the receiver. ? the gain of the receive chain from antenna to base band. ? the matching - including saw filter (optional). ? the bandwidth of the channel filters. it is therefore important to note that the setting of ookfixedthresh will be application dependa nt. the followi ng procedure is recommended to optimize ookfixedthresh . figure 11. floor threshold optimization the new floor threshold value found during this test should be used for ook reception wi th those receiver settings. 3.5.12.2. optimizing ook demodul ator for fast fading signals a sudden drop in signal strength can cause the bit error rate to increase. for applications where the expected signal drop can be estimated, the following ook demodulator parameters ookpeakthreshstep and ookpeakthreshdec can be optimized as described below for a given number of threshold decrements per bit. refer to regookpeak to access those settings. 3.5.12.3. alternative ook demodulator threshold modes in addition to the peak ook threshold mode, the user can alternatively select two other types of threshold detectors: ? fixed threshold: the value is selected through ookfixedthresh ? average threshold: data supplied by the rssi block is av eraged, and this operation mode should only be used with dc-free encoded data.
www.semtech.com page 31 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.13. bit synchronizer the bit synchronizer is a block that provi des a clean and synchronized digital output, free of glitches. its output is made available on pin dio1/dclk in continuous mode and can be di sabled through register settings. however, for optimum receiver performance its use when running continuous mode is strongly advised. the bit synchronizer is automatically activated in packet mode. its bit rate is controlled by bitratemsb and bitratelsb in regbitrate. figure 12. bit synchronizer description to ensure correct operation of the bit synchronizer , the following conditions have to be satisfied: ? a preamble (0x55 or 0xaa) of at least 12 bits is required for synchronization, the longer the synchronization the better the packet success rate ? the subsequent payload bit stream must have at least one tran sition form '0' to '1' or '1' to '0 every 16 bits during data transmission ? the bit rate matching between the transmitter and the receiver must be better than 6.5%. 3.5.14. frequency error indicator this function provides information about the frequ ency error of the local oscillator (lo) compared with the carrier frequency of a modulated signal at the input of the receiver. when the fe i block is launched, the frequency error is measured and the signed result is loaded in feivalue in regfei , in 2?s complement format. the time required for an fei evaluation is 4 times the bit period. to ensure a proper behavior of the fei: ? the operation must be done during the reception of preamble ? the sum of the frequency offset and the 20 db signal b andwidth must be lower than the base band filter bandwidth raw demodulator output (fsk or ook) dclk data bitsync output to pin data and dclk in continuous mode
www.semtech.com page 32 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation the 20 db bandwidth of the signal can be evaluated as follows (double-side bandwidth): the frequency error, in hz, can be calculated with the following formula: figure 13. fei process 3.5.15. automatic frequency correction the afc is based on the fei block, and therefore the same input signal and receiver setting conditions apply. when the afc procedure is done, afcvalue is directly subtracted to the register that defines the frequency of operation of the chip, f rf . the afc can be launched: ? each time the receiver is enabled, if afcautoon = 1 ? upon user request, by setting bit afcstart in regafcfei , if afcautoon = 0 bw 20 db 2 f dev br 2 ------- + ?? ?? ? = fei f step feivalue ? =
www.semtech.com page 33 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation when the afc is automatically triggered ( afcautoon = 1), the user has the option to: ? clear the former afc correction value, if afcautoclearon = 1 ? start the afc evaluation from the previously corrected frequen cy. this may be useful in sys tems in which the lo keeps on drifting in the ?same direction?. ageing compensation is a good example. the sx1208 offers an alternate receiver bandwidth setting during the afc phase, to accommodate large lo drifts. if the user considers that the received signal may be out of the receiver bandwidth, a higher channel filter bandwidth can be programmed in regafcbw , at the expense of the receiver noise floor, whic h will impact upon sensitivity. 3.5.16. optimized setup for low modulation index systems ? for wide band systems, where afc is usually not required (xtal inaccuracies do not typically impact the sensitivity), it is recommended to offset the lo frequency of the receiver to avoid desensitization. th is can be simply done by modifying frf in regfrflsb . a good rule of thumb is to offset the rece iver?s lo by 10% of the expected transmitter frequency deviation. ? for narrow band systems, it is recommended to perf orm afc. the sx1208 has a dedicated afc, enabled when afclowbetaon in regafcctrl is set to 1. a frequency offset, programmable through lowbetaafcoffset in regtestafc , is added and is calculated as follows: offset = lowbetaafcoffset x 488 hz the user should ensure that the progr ammed offset exceeds the dc canceller?s cutoff frequency, set through dccfreqafc in regafcbw. figure 14. optimized afc (afclowbetaon=1) as shown on figure 14 , a standard afc sequence uses the result of t he fei to correct the lo frequency and align both local oscillators. when the optimized afc is enabled ( afclowbetaon=1 ), the receiver?s lo is corrected by ? feivalue + lowbetaafcoffset ?. when the optimized afc routine is enabled, the receiver st artup time can be computed as follows (refer to section 4.2.3 ): ts_re_agc&afc (optimized afc) = tana + 4.tcf + 4.tdcc + 3. trssi + 2.tafc + 2.tpllafc f tx rx f rx & tx standard afc afclowbetaon = 0 f tx rx tx rx lowbetaafcoffset f afcvalue afcvalue feivalue feivalue optimized afc afclowbetaon = 1 before afc after afc
www.semtech.com page 34 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.17. preamble detector the preamble detector indicates the reception of a carrier modulated with a 0101...sequence. it is insensitive to the frequency offset, as long as the receiver bandwidth is large enough. the size of detection can be programmed from 1 to 3 bytes with preambledetectorsize in regtestpreamble as defined in the next table. table 17 preamble detector settings for proper operation, preambledetecttol should be set to be set to 10 (0x0a), with a qualifying preamble size of 2 bytes. preambledetect interrupt (either in regirqflags1 or mapped to a specific dio) goes high every time a valid preamble is detected, assuming preambledetectoron = 1.the preamble detector can also be used as a gate to ensure that afc and agc are performed on valid preamble. a restartrx command can be issued upon preamble detection, to ensure that the ensuing agc (if enabled) and/or afc (if enabled) is performed on a known good preamble sequence. 3.5.18. temperature sensor when temperature is measured, the receiv er adc is used to digitize the sens or response. most receiver blocks are disabled, and temperature measurement can only be triggered in standby or frequency synthesizer modes. the response of the temperature sensor is -1 c / lsb. a cmos temperature sensor is not accurate by nat ure, therefore it should be calibrated at ambient temperature for precise temperature readings. figure 15. temperature sensor response it takes less than 100 microseconds for the sx1208 to evaluate the temperature (from setting tempmeasstart to 1 to tempmeasrunning reset). preambledetectorsize # of bytes 00 1 01 2 (recommended) 10 3 11 reserved -40 c +85 c tempvalue ambient returns 150d (typ.) needs calibration tt+1 tempvalue(t) tempvalue(t)-1 -1 c/lsb
www.semtech.com page 35 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 3.5.19. timeout function the sx1208 includes a timeout function, whic h allows it to automatica lly shut-down the receiver after a receive sequence and therefore save energy. ? timeout interrupt is generated timeoutrxstart x 16 x tbit after switching to rx mode if rssithreshold flag does not raise within this time frame ? timeout interrupt is generated timeoutrssithresh x 16 x tbit after rssithreshold flag has been raised. this timeout interrupt can be used to warn the companion processor to shut down the receiver and return to a lower power mode.
www.semtech.com page 36 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 4. operating modes 4.1. basic modes the circuit can be set in 5 different basic modes which are described in ta b l e 18 . by default, when switching from a mode to another one, the sub-blocks are woken up according to a pre-defined and optimized sequence. alternatively, these operating modes can be selected directly by disabling the automatic sequencer ( sequenceroff in regopmode = 1 ). table 18 basic transceiver modes 4.2. automatic sequencer and wake-up times by default, when switching from one operat ing mode to another, the circuit takes care of the sequence of events in such a way that the transition timing is optimized. for example, w hen switching from sleep mode to transmit mode, the sx1208 goes first to standby mode (xo started), then to frequency synthesizer mode, and finally, when the pll has locked, to transmit mode. entering transmit mode is also made accordin g to a predefined sequence starting with the wake-up of the pa regulator before applying a ramp-up on the pa and generating the dclk clock. ? the crystal oscillator wake-up time, ts_osc , is directly related to the time for th e crystal oscillator to reach its steady state. it depends notably on the crystal characteristics. ? the frequency synthesizer wake-up time, ts _fs, is directly related to the time needed by the pll to reach its steady state. the signal pll_lock, provided on an external pin, give s an indication of the lock status. it goes high when the pll reaches its locking range. four specific cases can be highlighted: ? transmitter wake up time from sleep mode = ts_osc + ts_fs + ts_tr ? receiver wake up time from sleep mode = ts_osc + ts_fs + ts_re ? receiver wake up time from sleep mode, agc enabled = ts_osc + ts_fs + ts_re_agc ? receiver wake up time from sleep mode, agc and afc enabled = ts_osc + ts_fs + ts_re_agc&afc these timings are detailed in sections 4.2.1 and 4.2.3 . in applications where the target average power consumption, or the target startup time, do not require setting the sx1208 in the lowest power modes (sleep or standby), the respective timings ts_osc and ts_fs in the former equations can be omitted. listenon in regopmode mode in regopmode selected mode enabled blocks 0 0 0 0 sleep mode none 0 0 0 1 stand-by mode top regulator and crystal oscillator 0 0 1 0 fs mode frequency synthesizer 0 0 1 1 transmit mode frequency synthesizer and transmitter 0 1 0 0 receive mode frequency synthesizer and receiver 1 x listen mode see listen mode, section 4.3
www.semtech.com page 37 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 4.2.1. transmitter startup time the transmitter wake-up time, ts_tr, is given by the sequence c ontrolled by the digital part. it is a pure digital delay which depends on the bit rate and the ramp-up time. in fsk mode, this time can be derived from the following equation: , where paramp is the ramp-up time programmed in regparamp and tbit is the bit time. in ook mode, this equation can be simplified to the following: figure 16. tx startup, fsk and ook 4.2.2. tx start procedure as described in the former section, modeready and txready interrupts warn the uc that the transmitter is ready to transmit data ? in continuous mode , the preamble bits preceding the payload can be applied on the dio2/data pin immediately after any of these interrupts have fired. the dclk signal, activa ted on pin dio1/dclk can also be used to start toggling the data pin, as described on figure 29. ? in packet mode , the sx1208 will automatically modulate the rf signal with preamble bytes as soon as txready or modeready happen. the actual packet transmission (start ing with the number of preambles specified in preamblesize ) will start when the txstartcondition is fulfilled. 4.2.3. receiver startup time it is highly recommended to use the built -in sequencer of the sx1208, to optimize the delays when setting the chip in receive mode. it guarantees the shortest startup times, he nce the lowest possible energy usage, for battery operated systems. tbit paramp s tr ts ? ? ? ? ? 2 1 25 . 1 5 _ ? tbit s tr ts ? ? ? ? analog group delay 0.5 x tbit 1.25 x paramp (only in fsk mode) xo started and pll is locked 5 us transmission of packet modeready txready ts_tr tx startup request (sequencer or user)
www.semtech.com page 38 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation the startup times of the receiver can be calculated from the following: figure 17. rx startup - no agc, no afc figure 18. rx startup - agc, no afc figure 19. rx startup - agc and afc the different timings shown above are as follows: ? group delay of the analog front en d: tana = 20 us ? channel filter?s group delay in fsk mode: tcf = 21 / (4.rxbw) ? channel filter?s group delay in ook mode: tcf = 34 / (4.rxbw) ? dc cutoff?s group delay: tdcc = max(8 , 2^(round(log2(8.rxbw.tbit)+1)) / (4.rxbw) ? pll lock time after afc adjustment: tpllafc = 5 / pllbw (pllbw = 300 khz) ? afc sample time: tafc = 4 x tbit (also denoted ts _afc in the general specification) ? rssi sample time: trssi = 2 x int(4.rxbw.t bit)/(4.rxbw) (see ts_rssi in section 2) note the above timings represent maximum settling times analog fe?s group delay channel filter?s group delay dc cutoff?s group delay rssi sampling xo started and pll is locked tana rssi sampling tcf tdcc trssi trssi reception of packet modeready rxready ts_re rx startup request (sequencer or user) received packet preamble may start analog fe?s group delay channel filter?s group delay dc cutoff?s group delay rssi sampling xo started and pll is locked tana rssi sampling tcf tdcc trssi trssi reception of packet modeready rxready channel filter?s group delay dc cutoff?s group delay rssi sampling tcf tdcc trssi the lna gain is adjusted by the agc, according to the rssi result ts_re_agc rx startup request (sequencer or user) received packet preamble may start analog fe?s group delay channel filter?s group delay dc cutoff?s group delay rssi sampling xo started and pll is locked tana rssi sampling tcf tdcc trssi trssi reception of packet modeready rxready channel filter?s group delay dc cutoff?s group delay rssi sampling tcf tdcc trssi afc tafc pll lock tpllafc channel filter?s group delay tcf dc cutoff?s group delay tdcc ts_re_agc&afc rx startup request (sequencer or user) the lna gain is adjusted by the agc, according to the rssi result carrier frequency is adjusted by the afc received packet preamble may start
www.semtech.com page 39 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 4.2.4. rx start procedure as described in the former sections, the rxready interrupt warns the uc that the receiver is ready. ? in continuous mode with bit synchronizer , the receiver will start locking its bit sync hronizer on a minimum or 12 bits of received preamble (see section 3.5.13 for details), before th e reception of correct data, or sync word (if enabled) can occur. ? in continuous mode without bit synchronizer , valid data will be available on dio2/data right after the rxready interrupt. ? in packet mode , the receiver will start locking its bit synchronizer on a minimum or 12 bits of received preamble (see section 3.5.13 for details), before the reception of correct data, or sync word (if enabled) can occur. 4.2.5. optimized frequency hopping sequences in a frequency hopping-like application, it is required to tu rn off the transmitter when hopping from one channel to another, to avoid spectral splatter and obtain the best spectral purity. ? transmitter hop from ch a to ch b: it is advised to step through the rx mode: (0) sx1208 is in tx mode in ch a (1) program the sx1208 in rx mode (2) change the carrier frequency in the regfrf registers (3) turn the transceiver back to tx mode (4) respect the tx start procedure, described in section 4.2.2 ? receiver hop from ch a to ch b: (0) sx1208 is in rx mode in ch a (1) change the carrier frequency in the regfrf registers (2) program the sx1208 in fs mode (3) turn the transcei ver back to rx mode (4) respect the rx start procedu re, described in section 4.2.4 note all sequences described above are assuming that th e sequencer is turned on (sequenceroff=0 in regopmode).
www.semtech.com page 40 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 4.3. listen mode the circuit can be set to listen mode, by setting listenon in regopmode to 1 while in standby mode . in this mode, sx1208 spends most of the time in idle mode, during which only the rc oscillator runs. periodically the receiver is woken up and listens for an rf signal. if a wanted signal is dete cted, the receiver is kept on and the data is demodulated. otherwise, if a wanted signal hasn't been de tected after a pre-defined period of time, the receiver is disabled until the next time period. this periodical rx wake-up requi rement is very common in low power applications. on sx1208, it is handled locally by the listen mode block without using uc resources or energy. the simplified timing diagram of this procedure is illustrated in figure 20 . figure 20. listen mode sequence (no wanted signal is received) 4.3.1. timings the duration of the idle phase is given by t listenidle . the time during which the receiver is on and waits for a signal is given by t listenrx . t listenrx includes the wake-up time of the receiver, described in section 4.2.3 . this duration can be programmed in the configuration registers via the serial interface. both time periods t listenrx and t listenidle (denoted t listenx in the following text) are fixe d by two parameters from the configuration register and are calculated as follows : where listenresolx is the rx or idle resolution and is independen tly programmable on three values (64us, 4.1ms or 262ms), whereas listencoefx is an integer between 1 and 255. all parameters are located in reglisten registers. the timing ranges are tabulated in ta b l e 19 below. time t listenidle t listenrx t listenrx idle rx rx solx listen x listencoef t listenx re ? ?
www.semtech.com page 41 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation table 19 range of durations in listen mode notes - the accuracy of the typical timings given in table 19 will depend in the rc oscillator calibration - rc oscillator calibration is require d, and must be performe d at power up. see section 4.3.5 for details 4.3.2. criteria the criteria taken for detecting a wanted signal and henc e deciding to maintain the receiver on is defined by listencriteria in reglisten1. table 20 signal acceptance criteria in listen mode 4.3.3. end of cycle actions the action taken after detection of a packet, is defined by listenend in reglisten3 , as described in the table below. table 21 end of listen cycle actions listenresolx min duration ( listencoef = 1 ) max duration ( listencoef = 255 ) 01 64 us 16 ms 10 4.1 ms 1.04 s 11 0.26 s 67 s listencriteria input signal power >= rssithreshold syncaddressmatch 0 required not required 1 required required listenend description 00 chip stays in rx mode. listen mode stops and must be disabled. 01 chip stays in rx mode until payloadready or timeout interrupt occurs. it then goes to the mode defined by mode . listen mode stops and must be disabled. 10 chip stays in rx mode until payloadready or timeout interrupt occurs. listen mode then resumes in idle state. fifo cont ent is lost at next rx wakeup.
www.semtech.com page 42 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation upon detection of a valid packet, the sequencing is altered, as shown below: figure 21. listen mode sequence (wanted signal is received) 4.3.4. stopping listen mode to abort listen mode operation, the following procedure must be respected: ? program regopmode with listenon =0, listenabort =1, and the desired setting for the mode bits (sleep, stdby, fs, rx or tx mode) in a single spi access ? program regopmode with listenon =0, listenabort =0, and the desired setting for the mode bits (sleep, stdby, fs, rx or tx mode) in a second spi access 4.3.5. rc timer accuracy all timings of the listen mo de rely on the accuracy of the in ternal low-power rc oscillator. this oscillator is automatically calibrated at the device power-up, and it is a user-transparent process. for applications enduring large temperature variations, and fo r which the power supply is ne ver removed, rc calibration can be performed upon user request. rccalstart in regosc1 can be used to trigger this calibration, and the flag rccaldone will be set automatically when the calibration is over. payloadready listencriteria passed listen mode idle rx listen mode listen mode idle rx mode idle rx idle rx listenend = 00 listenend = 01 listenend = 10
www.semtech.com page 43 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 4.4. automodes automatic modes of packet handler can be enabled by configuring the related parameters in regautomodes. the intermediate mode of the chip is called intermediatemode and the enter and exit conditions to/from this intermediate mode can be configured through the parameters entercondition & exitcondition . the enter and exit conditions cannot be used independently of each other i.e. both should be enabled at the same time. the initial and the final state is the one configured in mode in regopmode . the initial & final states can be different by configuring the modes register while the chip is in intermediat e mode. the pictorial description of the auto modes is shown below. figure 22. auto modes of packet handler some typical examples of automodes usage are described below: ? automatic transmission (autotx) : mode = sleep, intermediatemode = tx, entercondition = fifolevel , exitcondition = packetsent ? automatic reception (autorx) : mode = rx, intermediatemode = sleep, entercondition = crcok , exitcondition = falling edge of fifonotempty ? automatic reception of acknowledge (autorxack): mode = tx, intermediatemode = rx, entercondition = packetsent , exitcondition = crcok initial state defined by m ode in regopmode intermediate state defined by intermediatemode exitcondition entercondition final state defined by m ode in regopmode
www.semtech.com page 44 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5. data processing 5.1. overview 5.1.1. block diagram figure below illustrates the sx120 8 data processing circuit. its role is to interface the data to/from the modulator/ demodulator and the uc access points (spi and dio pins ). it also controls all the configuration registers. the circuit contains several control blocks wh ich are described in the following paragraphs. figure 23. sx1208 data processing conceptual view the sx1208 implements several data operation modes, each with their own data path through the data processing section. depending on the data operation mode selected, some cont rol blocks are active whilst others remain disabled. 5.1.2. data operation modes the sx1208 has two different data operation modes selectable by the user: ? continuous mode: each bit transmitted or received is accessed in re al time at the dio2/data pin. this mode may be used if adequate external signal processing is available. ? packet mode (recommended): user only provides/retrieves payload bytes to/from the fifo. the packet is automatically built with preamble, sy nc word, and optional aes, crc, and dc-free en coding schemes the re verse operation is performed in reception. the uc proces sing overhead is hence significantly re duced compared to continuous mode. depending on the optional feat ures activated (crc, aes, etc) the maximum payload length is limited to fifo size, 255 bytes or unlimited. each of these data operation modes is described fully in the following sections. control spi packet handler sync recog. dio1 miso mosi sck nss rx tx tx/rx data fifo (+sr) potential datapaths (data operation mode dependant) dio2 dio0 dio3 dio4 dio5
www.semtech.com page 45 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.2. control block description 5.2.1. spi interface the spi interface gives access to the configuration register via a synchronous full-duplex pr otocol corresponding to cpol = 0 and cpha = 0 in motorola/freescale nome nclature. only the slave side is implemented. three access modes to the registers are provided: ? single access: an address byte followed by a data byte is sent for a write access whereas an address byte is sent and a read byte is received for the read access. the nss pin goes low at the begin of the frame and goes high after the data byte. ? burst access: the address byte is followed by several data bytes. the address is automati cally incremented internally between each data byte. this mode is available for both read and write accesses. the nss pin goes low at the beginning of the frame and stay low between each byte . it goes high only afte r the last byte transfer. ? fifo access: if the address byte corr esponds to the address of the fifo, then succeeding data byte will address the fifo. the address is not automatically incremented but is me morized and does not need to be sent between each data byte. the nss pin goes low at the beginning of the frame and stay low between each byte. it goes high only after the last byte transfer. figure below shows a typical spi single access to a register. figure 24. spi timing diagram (single access) mosi is generated by th e master on the falling edge of sck and is sample d by the slave (i.e. this spi interface) on the rising edge of sck. miso is generated by the slav e on the falling edge of sck. a transfer always starts by the nss pin going lo w. miso is high impedance when nss is high. the first byte is the address byte. it is made of: ? wnr bit, which is 1 for write access and 0 for read access ? 7 bits of address, msb first the second byte is a data byte, either se nt on mosi by the master in case of a write access, or received by the master on miso in case of read access. the data byte is transmitted msb first. proceeding bytes may be sent on mosi (for write access) or received on miso (for read access) without rising nss and re-sending the address. in fifo mode, if the address was the fifo address then the by tes will be written / read at the fifo address. in burst mode, if the address was not the fifo address, then it is automatic ally incremented at each new byte received.
www.semtech.com page 46 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation the frame ends when nss goes high. the next frame must st art with an address byte. the single access mode is actually a special case of fifo / burst mode with only 1 data byte transferred. during the write access, the byte transferred from the slave to the master on the miso line is the value of the written register before the write operation. 5.2.2. fifo 5.2.2.1. overview and shift register (sr) in packet mode of operation, both data to be transmitted and that has been received are stor ed in a configurable fifo (first in first out) device. it is acce ssed via the spi interface and provides several interrupts for transfer management. the fifo is 1 byte wide hence it only performs byte (paralle l) operations, whereas the demodulator functions serially. a shift register is therefore employed to interface the two device s. in transmit mode it takes bytes from the fifo and outputs them serially (msb first) at the programmed bit rate to the modu lator. similarly, in rx the sh ift register gets bit by bit data from the demodulator and writes th em byte by byte to the fifo. th is is illustrated in figure below. figure 25. fifo and shift register (sr) note when switching to sleep mode, the fifo can only be used once the modeready flag is set (quasi immediate from all modes except from tx) 5.2.2.2. size the fifo size is fixed to 66 bytes. 5.2.2.3. interrupt sources and flags ? fifonotempty : fifonotempty interrupt source is lo w when byte 0, i.e. wh ole fifo, is empty. otherwise it is high. note that when retrieving data from the fifo, fifonotempty is updated on nss fa lling edge, i.e. when fifonotempty is updated to low state the currently started read operation must be completed. in other words, fifonotempty state must be checked after each read operation for a decision on the next one ( fifonotempty = 1: more byte(s) to read; fifonotempty = 0: no more byte to read). ? fifofull : fifofull interrupt source is high when the last fifo byte , i.e. the whole fifo, is full. otherwise it is low. ? fifooverrunflag : fifooverrunflag is set when a new byte is written by the user (in tx or standby modes) or the sr (in rx mode) while the fifo is already full. da ta is lost and the flag sh ould be cleared by writing a 1, note that the fifo will also be cleared. ? packetsent : packetsent interrupt source goes high when the sr's last bit has been sent. ? fifolevel : threshold can be programmed by fifothreshold in regfifothresh . its behavior is illust rated in figure below. data tx/rx 8 1 sr (8bits) byte0 byte1 fifo msb lsb
www.semtech.com page 47 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation figure 26. fifolevel irq source behavior notes - fifolevel interrupt is updated only after a read or write operation on the fifo. thus the interrupt cannot be dynamically updated by only changing the fifothreshold parameter - fifolevel interrupt is valid as long as fifofull does not occur. an empty fifo will restor e its normal operation 5.2.2.4. fifo clearing table below summarizes the status of the fi fo when switching between different modes table 22 status of fifo when switching between different modes of the chip 5.2.3. sync word recognition 5.2.3.1. overview sync word recognition (als o called pattern recognition) is activated by setting syncon in regsyncconfig . the bit synchronizer must also be activated in conti nuous mode (automatically done in packet mode). the block behaves like a shift register; it continuously comp ares the incoming data with its internally programmed sync word and sets syncaddressmatch when a match is detected. this is illustrated in figure 27 below. from to fifo status comments stdby sleep not cleared sleep stdby not cleared stdby/sleep tx not cleared to allow the user to write the fifo in stdby/sleep before tx stdby/sleep rx cleared rx tx cleared rx stdby/sleep not cleared to allow the user to read fifo in stdby/sleep mode after rx tx any cleared # of bytes in fifo fifolevel 0 1 b b+1
www.semtech.com page 48 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation figure 27. sync word recognition during the comparison of the demodulated data, the fi rst bit received is compared with bit 7 (msb) of regsyncvalue1 and the last bit received is compared with bit 0 (lsb) of the last byte whose address is determi ned by the length of the sync word. when the programmed sync word is detected the user can assume that this incoming packet is for the node and can be processed accordingly. syncaddressmatch is cleared when leaving rx or fifo is emptied. 5.2.3.2. configuration ? size: sync word size can be set from 1 to 8 bytes (i.e. 8 to 64 bits) via syncsize in regsyncconfig . in packet mode this field is also used for sync word generation in tx mode. ? error tolerance: the number of errors tolerated in the sync word recognition can be set from 0 to 7 bits to via synctol . ? value: the sync word va lue is configured in syncvalue(63:0) . in packet mode this field is also used for sync word generation in tx mode. note syncvalue choices containing 0x00 bytes are not allowed 5.2.4. packet handler the packet handler is the block used in packet mode. its functionality is fully described in section 5.5 . 5.2.5. control the control block configures and controls the full chip's beha vior according to the settings programmed in the configuration registers. 5.3. digital io pins mapping six general purpose io pins are available on the sx1208, and their configuration in continuous or packet mode is controlled through regdiomapping1 and regdiomapping2. rx data (nrz) dclk bit n-x = sync_value[x] bit n-1 = sync_value[1] bit n = sync_value[0] syncaddressmatch
www.semtech.com page 49 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.3.1. dio pins mapping in continuous mode table 23 dio mapping, continuous mode 5.3.2. dio pins mapping in packet mode table 24 dio mapping, packet mode note received data is only shown on the data sign al between rxready and payloadready?s rising edges
www.semtech.com page 50 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.4. continuous mode 5.4.1. general description as illustrated in figure 28 , in continuous mode the nrz data to (from) the (de )modulator is directly accessed by the uc on the bidirectional dio2/data pin. the fifo and packet handler are thus inactive. figure 28. continuous mode conceptual view 5.4.2. tx processing in tx mode, a synchronous data clock for an external uc is provided on dio1/dclk pin. clock timing with respect to the data is illustrated in figure 29 . data is internally sampled on the rising e dge of dclk so the uc can change logic state anytime outside the grayed out setup/hold zone. figure 29. tx processing in continuous mode note the use of dclk is required when the modula tion shaping is enabled (see section 3.4.5). control spi sync recog. dio1/dclk miso mosi sck nss rx tx/rx data dio2/data dio0 dio3 dio4 dio5 dclk t_data t_data data (nrz)
www.semtech.com page 51 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.4.3. rx processing if the bit synchronizer is disabled, the raw demodulator output is made directly available on data pin and no dclk signal is provided. conversely, if the bit synchronizer is enabled, synchronous cleaned data and clock are made available respectively on dio2/data and dio1/dclk pins. data is sampled on the ri sing edge of dclk and upd ated on the fa lling edge as illustrated below. figure 30. rx processing in continuous mode note in continuous mode it is always recommended to enable the bit synchronizer to clean the data signal even if the dclk signal is not used by the uc (bit synchron izer is automatically enabled in packet mode). 5.5. packet mode 5.5.1. general description in packet mode the nrz data to (from) the (de)modulator is no t directly accessed by the uc but stored in the fifo and accessed via the spi interface. in addition, the sx1208 packet hand ler performs several pack et oriented tasks such as preamble and sync word generation, crc calculation/che ck, whitening/dewhitening of data, mancheste r encoding/decoding, address filtering, aes encryption/decryption, etc. this simpli fies software and reduces uc overhead by performing these repetitive tasks within the rf chip itself. another important feature is ability to fill and empty the fi fo in sleep/stdby mode, ensu ring optimum power consumption and adding more flexib ility for the software. data (nrz) dclk
www.semtech.com page 52 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation figure 31. packet mode conceptual view note the bit synchronizer is automa tically enabled in packet mode. 5.5.2. packet format 5.5.2.1. fixed length packet format fixed length packet format is selected when bit packetformat is set to 0 and payloadlength is set to any value greater than 0. in applications where the packet length is fixed in advance, this mode of operatio n may be of interest to minimize rf overhead (no length byte field is required). all nodes, whet her tx only, rx only, or tx/rx should be programmed with the same packet length value. the length of th e payload is limited to 255 bytes if aes is not enabled else th e message is limited to 64 bytes (i.e. max 65 bytes payload if address byte is enabled). the length programmed in payloadlength relates only to the pa yload which includes the message and the optional address byte. in this mode, the payload must contai n at least one byte, i.e. address or message byte. an illustration of a fixed length packet is shown below. it contains the following fields: ? preamble (1010...) ? sync word (network id) ? optional address byte (node id) ? message data ? optional 2-bytes crc checksum control spi packet handler sync recog. dio1 miso mosi sck nss rx tx data fifo (+sr) dio2 dio0 dio3 dio4 dio5
www.semtech.com page 53 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation figure 32. fixed length packet format 5.5.2.2. variable length packet format variable length packet format is selected when bit packetformat is set to 1. this mode is useful in applications where the length of the pack et is not known in advance and can vary over time. it is then necessary for the transmitter to send the length information together with each packet in order for the receiver to operate properly. in this mode the length of the payload, indicated by the length byte, is given by the first byte of the fifo and is limited to 255 bytes if aes is not enabled else the message is limited to 64 bytes i.e. max 66 bytes payl oad if address byte is enabled. note that the length by te itself is not included in its calculation. in this mode, the payload must contain at least 2 bytes, i.e. length + address or message byte. an illustration of a variable length packet is shown below. it contains the following fields: ? preamble (1010...) ? sync word (network id) ? length byte ? optional address byte (node id) ? message data ? optional 2-bytes crc checksum figure 33. variable length packet format message up to 255 bytes address byte crc 2-bytes sync word 0 to 8 bytes preamble 0 to 65535 bytes payload (min 1 byte) crc checksum calculation dc free data encoding fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload aes enc/dec message up to 255 bytes address byte length byte crc 2-bytes sync word 0 to 8 bytes preamble 0 to 65535 bytes payload (min 2 bytes) crc checksum calculation dc free data encoding fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload aes enc/dec
www.semtech.com page 54 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.5.2.3. unlimited length packet format unlimited length packet format is selected when bit packetformat is set to 0 and payloadlength is set to 0. the user can then transmit and receive packet of arbitrary length and payloadlength register is not used in tx/rx modes for counting the length of the bytes transmitted/received. th is mode is a replacement for the legacy buffered mode in sx1211/sx1212 transceivers. in tx the data is transmitted depending on the txstartcondition bit. on the rx side the data processing features like address filtering, manchester encoding and data whitening are not available if the sync pattern length is set to zero ( syncon = 0 ). the filling of the fifo in this case can be controlled by the bit fifofillcondition . the crc detection in rx is also not supported in this mode of the packet handler, howeve r crc generation in tx is ope rational. the interrupts like crcok & payloadready are not available either. an unlimited length packet shown in figu re 35 is made up of the following fields: ? preamble (1010...). ? sync word (network id). ? optional address byte (node id). ? message data ? optional 2-bytes crc checksum (tx only) figure 34. unlimited length packet format 5.5.3. tx processing (without aes) in tx mode the packet handler dynamically builds the pa cket by performing the following operations on the payload available in the fifo: ? add a programmable number of preamble bytes ? add a programmable sync word ? optionally calculating crc over complete payload field (optional length byte + optional address byte + message) and appending the 2 bytes checksum. ? optional dc-free encoding of the data (manchester or whitening) only the payload (including optional address and length fi elds) is required to be provided by the user in the fifo. message unlimited length address byte sync word 0 to 8 bytes preamble 0 to 65535 bytes payload fields added by the packet handler in tx and processed and removed in rx optional user provided fields which are part of the payload message part of the payload dc free data encoding
www.semtech.com page 55 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation the transmission of packet data is initiated by the packet handler only if the chip is in tx mode and the transmission condition defined by txstartcondition is fulfilled. if transmission condition is not fulfilled then the packet handler transmits a preamble sequence until the condit ion is met. this happens only if the preamble length /= 0, otherwise it transmits a zero or one until the condition is me t to transmit the packet data. the transmission condition itself is defined as: ? if txstartcondition = 1, the packet handler waits until the first byte is written into the fifo, t hen it starts sending the preamble followed by the sync word and user payload ? if txstartcondition = 0, the packet handler waits until the number of bytes written in the fifo is equal to the number defined in regfifothresh + 1 ? if the condition for transmission was alre ady fulfilled i.e. the fifo was filled in sleep/stdby th en the transmission of packet starts immediately on enabling tx 5.5.4. rx processing (without aes) in rx mode the packet handler extracts the user payl oad to the fifo by performing the following operations: ? receiving the preamble and stripping it off ? detecting the sync word and stripping it off ? optional dc-free decoding of data ? optionally checking the address byte ? optionally checking crc and reflecting the result on crcok. only the payload (including optional address and length fields) is made available in the fifo. when the rx mode is enabled the demodulator receives the pr eamble followed by the detecti on of sync word. if fixed length packet format is enabled then the number of bytes received as the payload is given by the payloadlength parameter. in variable length mode the first byte receiv ed after the sync word is interpreted as the length of the received packet. the internal length counter is initializ ed to this received length. the payloadlength register is set to a value which is greater than the maximum expected length of the received packet. if th e received length is greater than the maximum length stored in payloadlength register the packet is discarded other wise the complete packet is received. if the address check is enabled then the second byte received in case of variable length and first byte in case of fixed length is the address byte. if the address matches to the one in the nodeaddress field, reception of the data continues otherwise it's stopped. the cr c check is performed if crcon = 1 and the result is available in crcok indicating that the crc was successful. an interrupt ( payloadready ) is also generated on dio0 as soon as the payload is available in the fifo. the payload available in the fifo can also be read in sleep/standby mode. if the crc fails the payloadready interrupt is not generated and the fifo is cleared. this function can be overridden by setting crcautoclearoff = 1, forcing the availability of payloadready interrupt and the payload in the fifo even if the crc fails. 5.5.5. aes for the transceiver mode aes is the symmetric-key block cipher that provides the cryptographi c capabilities to the transce iver. the syst em proposed can work with 128-bit long fixed keys. the fixed key is stored in a 16-byte write only user configuration register, which retains its value in sleep mode.
www.semtech.com page 56 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation as shown in figure 32 and figure 33 above the message part of the packet can be encrypted and decrypted with the cipher 128- cipher key stored in the configuration registers. 5.5.5.1. tx processing 1. user enters the data to be transmitted in fifo in stdby/sleep mode and gives the transmit command. 2. on tx command the packet handler state machine takes over the control and if encryption is enabled then the message inside the fifo is read in blocks of 16 bytes (p added with 0s if needed), encrypted and stored back to fifo. all this processing is done in tx mode before enabling the packet handling state machine. only the message part of the packet is encrypted and preamble, sync word, length byte, address byte and crc are not encrypted. 3. once the encryption is done the packet handli ng state machine is enabled to transmit the data. 5.5.5.2. rx processing 1. the data received is stored in the fifo, the address , crc interrupts are generated as usual because these parameters were not encrypted. 2. once the complete packet has been received. the data is read from the fifo, decrypt ed and written back to fifo. the payloadready interrupt is issued once the decrypted data is re ady in the fifo for reading via the spi interface. the aes encryption/decrypt ion cannot be used on the fly i.e. while transmitting an d receiving data. thus when aes encryption/decryption is enabled, the fifo acts as a simple buf fer. this buffer is filled befo re initiating any transmission. the data in the buffer is then encrypted before the transmissi on can begin. on the receive side the decryption is initiated only once the complete packet has been received in the buffer. the encryption/decryption process takes appr oximately 7.0 us per 16-byte block. thus for a maximum of 4 blocks (i.e. 64 bytes) it can take up to 28 us for completing the cryptographic operations. the receive side sees the aes decryption time as a sequ ential delay before the payloadready interrupt is available. the tx side sees the aes encryption time as a sequential delay in the startup of the tx chain, thus the startup time of the tx will increase a ccording to the length of data. in fixed length mode the message part of the payload that can be encrypted/decrypted can be 64 bytes long. if the address filtering is enabled, the length of the pa yload should be at max 65 bytes in this case. in variable length mode the max message size that can be en crypted/decrypted is also 64 bytes when address filtering is disabled, else it is 48 bytes. thus, including length byte, the length of the payload is max 65 or 50 bytes (the latter when address filtering is enabled). if the address filtering is expected then addressfiltering must be enabled on the transmitter side as well to prevent address byte to be encrypted. crc check being performed on encrypted data, crcok interrupt will occur "dec ryption time" before payloadready interrupt.
www.semtech.com page 57 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.5.6. standalone aes engine it is also possible to use the sx1208 as a standalone aes encryption eng ine. in this mode, the user can encrypt/decrypt the data stored in the fifo, without invoking transmit or receive mode. there are three configuration bits located in regafcctrl : ? aesstart : launch the aes encrypt/decrypt operation in standby mode only ? encrypton : select the encryption (set to 1) or decryption (set to 0) mechanism ? aesdone : flag indicating that the encrypt/decrypt operation is ongoing (1) or finished (0) to perform a standalone encryption or decryption: 1) write the data to be encrypted/decrypted in the fifo in sl eep or standby mode. multiple of 16 bytes are supported, up to 256 bytes 2) set payloadlength to the corresponding payload size. 3) set standby mode if fi fo was filled in sleep mode 4) set aesstart to 1. each 16-byte block of data in the fi fo takes 6.28 us to complete an aes operation 5) aesdone will remain high until the processing is finished. it can be mapped to dio5 6) the encrypted/decrypted data can then be read from the fifo in sleep or standby mode. it is also possible to speed up the autonomous aes encrypti on engine by allowing simultaneous read and write access to the fifo. this way, a previously encrypted block of data can be fetched out from the chip while the next block is being transferred over to the fifo. this method can save significan t amounts of time when encrypting larger amounts of data, spi transfer times becoming non-negligible. the procedure is as follows: 1) set dualrxaeson in regopmode to 1 2) write the first 64 bytes into the fifo in sleep or standby mode 3) perform encryption/decryption (see previous description, steps 4-5) 4) do a dual fifo read/write: write th e 2nd chunk of 64 bytes into the fifo & read the previously-encrypted 64 bytes at the same time 5) carry-on until the comp lete payload is encrypted 5.5.7. handling large packets when payload length exceeds fifo size (66 bytes) whether in fixe d, variable or unlimited length packet format, in addition to packetsent in tx and payloadready or crcok in rx, the fifo interrupts/flags can be used as described below: ? for tx: fifo can be prefilled in slee p/standby but must be refille d "on-the-fly" during tx wit h the rest of the payload. 1) prefill fifo (in sleep/standby firs t or directly in tx mode) until fifothreshold or fifofull is set 2) in tx, wait for fifothreshold or fifonotempty to be cleared (i.e. fifo is nearly empty) 3) write bytes into the fifo until fifothreshold or fifofull is set. 4) continue to step 2 until the entire message has been written to the fifo ( packetsent will fire when the last bit of the packet has been sent).
www.semtech.com page 58 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation ? for rx: fifo must be unfilled "on-the-fly" during rx to prev ent fifo overrun. 1) start reading bytes from the fifo when fifonotempty or fifothreshold becomes set. 2) suspend reading from the fifo if fifonotempty clears before all bytes of the message have been read 3) continue to step 1 until payloadready 4) read all remaining bytes from the fifo either in rx or sleep/standby mode note aes encryption is not feasib le on large packets, since all payload bytes need to be in the fifo at the same time to perform encryption
www.semtech.com page 59 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.5.8. packet filtering sx1208's packet handler offers several mechanisms for packe t filtering, ensuring that only useful packets are made available to the uc, reducing significantly system power consumption and software complexity. 5.5.8.1. sync word based sync word filtering/recognition is used for identifying the start of the pa yload and also for network identification. as previously described, the sync word recognition block is configured (size, error tolerance, value) in regsyncvalue registers. this information is used, both for appendi ng sync word in tx, and filtering packets in rx. every received packet which does not st art with this locally config ured sync word is automat ically discarded and no interrupt is generated. when the sync word is detected, payloa d reception automatically starts and syncaddressmatch is asserted. note sync word values containing 0x00 byte(s) are forbidden 5.5.8.2. address based address filtering can be enabled via the addressfiltering bits. it adds another level of filt ering, above sync word (i.e. sync must match first), typically useful in a multi-node networks where a network id is shared between all nodes (sync word) and each node has its own id (address). two address based filtering options are available: ? addressfiltering = 01 : received address field is compared with internal register nodeaddress . if they match then the packet is accepted and processed, otherwise it is discarded. ? addressfiltering = 10 : received address field is compared with internal registers nodeaddress and broadcastaddress . if either is a match, the received packet is accepted and proc essed, otherwise it is discar ded. this additional check with a constant is useful for implementing broadcast in a multi-node networks please note that the received address byte, as part of the pa yload, is not stripped off the packet and is made available in the fifo. in addition, nodeaddress and addressfiltering only apply to rx. on tx side, if address filtering is expected, the address byte should simply be put into the fifo like any other byte of the payload. as address filtering requires a sync word match, both features share th e same interrupt flag syncaddressmatch . 5.5.8.3. length based in variable length packet mode, payloadlength must be programmed with the maxi mum payload length permitted. if received length byte is smaller than this maximum then th e packet is accepted and processed, otherwise it is discarded. please note that the received le ngth byte, as part of the payload, is not stri pped off the packet and is made available in the fifo. to disable this function the user should set the value of the payloadlength to 255.
www.semtech.com page 60 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 5.5.8.4. crc based the crc check is enabled by setting bit crcon in regpacketconfig1 . it is used for checking the integrity of the message. ? on tx side a two byte crc checksum is calculated on th e payload part of the packet and appended to the end of the message ? on rx side the checksum is calculated on the received pa yload and compared with the two checksum bytes received. the result of the comparison is stored in bit crcok. by default, if the crc check fails then the fifo is automatically cleared and no inte rrupt is generated. this filtering functio n can be disabled via crcautoclearoff bit and in this case, even if crc fa ils, the fifo is not cleared and only payloadready interrupt goes high. please note that in both cases, the two crc checksum bytes ar e stripped off by the packet handler and only the payload is made available in the fifo. the crc is based on the ccitt polynomial as shown below. this implementation also detects errors due to leading and trailing zeros. figure 35. crc implementation 5.5.9. dc-free data mechanisms the payload to be transmitted may contain long sequences of 1's and 0's, which introduces a dc bias in the transmitted signal. the radio signal thus produced has a non uniform power distribution over the occupied channel bandwidth. it also introduces data dependencies in the normal operation of the demodu lator. thus it is useful if the transmitted data is random and dc free. for such purposes, two techniques are made available in th e packet handler: manchester encoding and data whitening. note only one of the two methods should be enabled at a time. 5.5.9.1. manc hester encoding manchester encoding/decoding is enabled if dcfree = 01 and can only be used in packet mode. the nrz data is converted to manchester code by coding '1' as "10" and '0' as "01". in this case, the maximum chip rate is th e maximum bit rate given in the specificatio ns section and the actual bit rate is half the chip rate. manchester encoding and decoding is only applied to the payload and crc checksum while preamble and sync word are kept nrz. however, the chip rate from preamble to crc is the same and defined by bitrate in regbitrate (chip rate = bit rate nrz = 2 x bit rate manchester). x 14 x 13 x 12 x 11 x 5 x 0 x 15 crc polynomial =x 16 + x 12 + x 5 + 1 * * * x 4 * * * data input
www.semtech.com page 61 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation manchester encoding/dec oding is thus made transparent for the user, who still provides/retrieves nrz data to/from the fifo. figure 36. manchester encoding/decoding 5.5.9.2. data whitening another technique called whitening or scrambling is widely us ed for randomizing the user data before radio transmission. the data is whitened using a random sequence on the tx side and de-whitened on the rx side using the same sequence. comparing to manchester technique it has the advantage of ke eping nrz data rate i.e. actual bit rate is not halved. the whitening/de-whitening process is enabled if dcfree = 10 . a 9-bit lfsr is used to generate a random sequence. the payload and 2-byte crc checksum is then xored with this random sequence as shown belo w. the data is de-whitened on the receiver side by xoring with the same random sequence. payload whitening/de-white ning is thus made transparent for the user, who still provides/r etrieves nrz data to/from the fifo. figure 37. data whitening ...sync payload... rf chips @ br ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester off ... 1 1 1 0 1 0 0 1 0 0 1 0 1 1 0 1 0 ... user/nrz bits manchester on ... 1 1 1 0 1 0 0 1 0 0 1 1 ... t 1/br 1/br x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 x 8 lfsr polynomial =x 9 + x 5 + 1 transmit data whitened data
www.semtech.com page 62 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6. configuration and status registers 6.1. general description table 25 registers summary address register name reset (built-in) default (recom mended) description 0x00 regfifo 0x00 fifo read/write access 0x01 regopmode 0x04 operating modes of the transceiver 0x02 regdatamodul 0x00 data operation mode and modulation settings 0x03 regbitratemsb 0x1a bit rate setting, most significant bits 0x04 regbitratelsb 0x0b bit rate setting, least significant bits 0x05 regfdevmsb 0x00 frequency deviation setting, most significant bits 0x06 regfdevlsb 0x52 frequency deviation setting, least significant bits 0x07 regfrfmsb 0x74 rf carrier frequency, most significant bits 0x08 regfrfmid 0xc0 rf carrier frequency, intermediate bits 0x09 regfrflsb 0x00 rf carrier frequency, least significant bits 0x0a regosc1 0x41 rc oscillators settings 0x0b regafcctrl 0x40 afc control in low modulation index situations 0x0c reglowbat 0x02 low battery indicator settings 0x0d reglisten1 0x92 listen mode settings 0x0e reglisten2 0xf5 listen mode idle duration 0x0f reglisten3 0x20 listen mode rx duration 0x10 regversion 0x23 semtech id relating the silicon revision 0x11 regpalevel 0x9f pa selection and output power control 0x12 regparamp 0x09 control of the pa ramp time in fsk mode 0x13 regocp 0x1a over current protection control 0x14 reserved 14 0x40 - 0x15 reserved 15 0xb0 - 0x16 reserved 16 0x7b - 0x17 reserved 17 0x9b - 0x18 reglna 0x08 0x88 lna gain selection manual/automatic 0x19 regrxbw 0x86 0x55 channel filter bw control
www.semtech.com page 63 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 0x1a regafcbw 0x8a 0x8b channel filter bw control during the afc routine 0x1b regookpeak 0x40 ook demodulator selection and control in peak mode 0x1c regookavg 0x80 average threshold control of the ook demodulator 0x1d regookfix 0x06 fixed threshold control of the ook demodulator 0x1e regafcfei 0x10 afc and fei control and status 0x1f regafcmsb 0x00 msb of the frequency correction of the afc 0x20 regafclsb 0x00 lsb of the frequency correction of the afc 0x21 regfeimsb 0x00 msb of the calculated frequency error 0x22 regfeilsb 0x00 lsb of the calculated frequency error 0x23 regrssiconfig 0x02 rssi-related settings 0x24 regrssivalue 0xff rssi value in dbm 0x25 regdiomapping1 0x00 mapping of pins dio0 to dio3 0x26 regdiomapping2 0x05 0x07 mapping of pins dio4 and dio5, clkout frequency 0x27 regirqflags1 0x80 status register: pll lock state, timeout, rssi > threshold... 0x28 regirqflags2 0x00 status register: fifo handling flags, low battery detection... 0x29 regrssithresh 0xff 0xe4 rssi threshold control 0x2a regrxtimeout1 0x00 timeout duration between rx request and rssi detection 0x2b regrxtimeout2 0x00 timeout duration between rssi detection and payloadready 0x2c regpreamblemsb 0x00 preamble length, msb 0x2d regpreamblelsb 0x03 preamble length, lsb 0x2e regsyncconfig 0x98 sync word recognition control 0x2f-0x36 regsyncvalue1-8 0x00 0x01 sync word bytes, 1 through 8 0x37 regpacketconfig1 0x10 packet mode settings 0x38 regpayloadlength 0x40 payload length setting 0x39 regnodeadrs 0x00 node address 0x3a regbroadcastadrs 0x00 broadcast address 0x3b regautomodes 0x00 auto modes settings 0x3c regfifothresh 0x0f 0x8f fifo threshold, tx start condition 0x3d regpacketconfig2 0x02 packet mode settings address register name reset (built-in) default (recom mended) description
www.semtech.com page 64 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation notes - reset values are automatically re freshed in the chip at power on reset - default values are the semtech recommended regi ster values, optimizing the device operation - registers for which the default value differs from the re set value are denoted by a * in the tables of section 6 0x3e-0x4d regaeskey1-16 0x00 16 bytes of the cypher key 0x4e regtemp1 0x01 temperature sensor control 0x4f regtemp2 0x00 temperature readout 0x59 reg tcxo 0x09 xtal or tcxo input selection 0x5a regtestpa1 0x55 high power pa settings 0x5c regtestpa2 0x70 high power pa settings 0x6c regpreamble 0x40 0x2a settings of the preamble detector block 0x6f regdagc 0x00 0x30 fading margin improvement 0x71 regafcoffset 0x00 afc offset for low modulation index afc 0x50 + reserved 50+ - - address register name reset (built-in) default (recom mended) description
www.semtech.com page 65 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6.2. common confi guration registers table 26 common configuration registers name (address) bits variable name mode default value description regfifo (0x00) 7-0 fifo rw 0x00 fifo data input/output regopmode (0x01) 7 sequenceroff rw 0 controls the automatic sequencer (see section 4.2 ): 0 ? operating mode as selected with mode bits in regopmode is automatically reached with the sequencer 1 ? mode is forced by the user 6 listenon rw 0 enables listen mode, should be enabled whilst in standby mode: 5 listenabort w0 aborts listen mode when set together with listenon=0 see section 4.3.4 for details always reads 0. 4-2 mode rw 001 transceiver?s operating modes: 000 ? sleep mode (sleep) 001 ? standby mode (stdby) 010 ? frequency synthesizer mode (fs) 011 ? transmitter mode (tx) 100 ? receiver mode (rx) others ? reserved reads the value corresponding to the current chip mode 1 rxtxpolarity rw 0 control the polarity of the rxtx pin 0 ? high in tx mode 1 ? high in rx mode 0 dualrwaeson rw 0 enable the dual rw fifo access to speed up aes encryption/decryption processes 0 ? dual access disabled 1 ? dual access enabed
www.semtech.com page 66 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regdatamodul (0x02) 7 - r 0 unused 6-5 datamode rw 00 data processing mode: 00 ? packet mode 01 ? reserved 10 ? continuous mode with bit synchronizer 11 ? continuous mode without bit synchronizer 4-3 modulationtype rw 00 modulation scheme: 00 ? fsk 01 ? ook 10 - 11 ? reserved 2 - r 0 unused 1-0 modulationshaping rw 00 data shaping: in fsk: 00 ? no shaping 01 ? gaussian filter, bt = 1.0 10 ? gaussian filter, bt = 0.5 11 ? gaussian filter, bt = 0.3 in ook: 00 ? no shaping 01 ? filtering with f cutoff = br 10 ? filtering with f cutoff = 2*br 11 ? reserved regbitratemsb (0x03) 7-0 bitrate(15:8) rw 0x1a msb of bit rate (chip rate when manchester encoding is enabled) regbitratelsb (0x04) 7-0 bitrate(7:0) rw 0x0b lsb of bit rate (chip rate if manchester encoding is enabled) default value: 4.8 kb/s regfdevmsb (0x05) 7-6 - r 00 unused 5-0 fdev(13:8) rw 000000 msb of the frequency deviation regfdevlsb (0x06) 7-0 fdev(7:0) rw 0x52 lsb of the frequency deviation default value: 5 khz regfrfmsb (0x07) 7-0 frf(23:16) rw 0x74 msb of the rf carrier frequency regfrfmid (0x08) 7-0 frf(15:8) rw 0xc0 middle byte of the rf carrier frequency regfrflsb (0x09) 7-0 frf(7:0) rw 0x00 lsb of the rf carrier frequency default value: frf = 467 mhz (32 mhz xo) regosc1 (0x0a) 7 rccalstart w0 triggers the calibration of the rc oscillator when set. always reads 0. rc calibration must be triggered in standby mode. 6 rccaldone r1 0 ? rc calibration in progress 1 ? rc calibration is over 5-0 - r 000001 unused bitrate fxosc bitrate 15 0 (,) ---------------------------------- - = fdev fstep fdev 15 0 (,) ? = frf fstep frf 23 0 ; ?? ? =
www.semtech.com page 67 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regafcctrl (0x0b) 7-6 - r 01 unused 5 afclowbetaon rw 0 improved afc routine for signals with modulation index lower than 2. refer to section 3.5.16 for details 0 ? standard afc routine 1 ? improved afc routine 4 aesstart w0 triggers the aes encryption in standalone aes mode when set. 3 encrypton rw 0 selects if the aes engine witll encrypt or decrypt data 0 ? decryption 1 ? encryption 2 aesdone r0 0 ? aes process terminated 1 ? aes process in progress 1 preambledetect rwc 0 set when the preamble detector has found valid preamble. bit clear when set to 1 0 - rw 0 reserved reglowbat (0x0c) 7-5 - r 000 unused 4 lowbatmonitor rw - real-time (not latched) output of the low battery detector, when enabled. 3 lowbaton rw 0 low battery detector enable signal 0 ? lowbat off 1 ? lowbat on 2-0 lowbattrim rw 010 trimming of the lowbat threshold: 000 ? 1.695 v 001 ? 1.764 v 010 ? 1.835 v 011 ? 1.905 v 100 ? 1.976 v 101 ? 2.045 v 110 ? 2.116 v 111 ? 2.185 v
www.semtech.com page 68 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation reglisten1 (0x0d) 7-6 listenresolidle rw 10 resolution of listen mode idle time (calibrated rc osc): 00 ? reserved 01 ? 64 us 10 ? 4.1 ms 11 ? 262 ms 5-4 listenresolrx rw 01 resolution of listen mode rx time (calibrated rc osc): 00 ? reserved 01 ? 64 us 10 ? 4.1 ms 11 ? 262 ms 3 listencriteria rw 0 criteria for packet acceptance in listen mode: 0 ? signal strength is above rssithreshold 1 ? signal strength is above rssithreshold and syncaddress matched 2-1 listenend rw 01 action taken after acceptance of a packet in listen mode: 00 ? chip stays in rx mode. li sten mode stops and must be disabled (see section 4.3 ). 01 ? chip stays in rx mode until payloadready or timeout interrupt occurs. it then goes to the mode defined by mode . listen mode stops and must be disabled (see section 4.3 ). 10 ? chip stays in rx mode until payloadready or timeout interrupt occurs. listen mode then resumes in idle state. fifo content is lost at next rx wakeup. 11 ? reserved 0 - r 0 unused reglisten2 (0x0e) 7-0 listencoefidle rw 0xf5 duration of the idle phase in listen mode. reglisten3 (0x0f) 7-0 listencoefrx rw 0x20 duration of the rx phase in listen mode (startup time included, see section 4.2.3 ) regversion (0x10) 7-0 version r0x23 version code of the chip. bits 7-4 give the full revision number; bits 3-0 give the metal mask revision number. solidle listen idle listencoef t listenidle re ? ? solrx listen rx listencoef t listenrx re ? ?
www.semtech.com page 69 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6.3. transmitter registers table 27 transmitter registers note *power amplifier truth table is available in table 10. name (address) bits variable name mode default value description regpalevel (0x11) 7 pa0on * rw 1 enables pa0, connected to rfio and lna 6 pa1on * rw 0 enables pa1, on pa_boost pin 5 pa2on * rw 0 enables pa2, on pa_boost pin 4-0 outputpower rw 11111 output power setting, with 1 db steps pout = -18 + outputpower [dbm] , with pa0 or pa1 pout = -14 + outputpower [dbm] , with pa1 and pa2 (limited to the 16 upper values of outputpower ) regparamp (0x12) 7-4 - r 0000 unused 3-0 paramp rw 1001 rise/fall time of ramp up/down in fsk 0000 ? 3.4 ms 0001 ? 2 ms 0010 ? 1 ms 0011 ? 500 us 0100 ? 250 us 0101 ? 125 us 0110 ? 100 us 0111 ? 62 us 1000 ? 50 us 1001 ? 40 us 1010 ? 31 us 1011 ? 25 us 1100 ? 20 us 1101 ? 15 us 1110 ? 12 us 1111 ? 10 us regocp (0x13) 7-5 - r 000 unused 4 ocpon rw 1 enables overload current protection (ocp) for the pa: 0 ? ocp disabled 1 ? ocp enabled 3-0 ocptrim rw 1010 trimming of ocp current: 95 ma ocp by default imax 45 5 ocptrim ? ma ?? + =
www.semtech.com page 70 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6.4. receiver registers table 28 receiver registers name (address) bits variable name mode default value description reserved14 (0x14) 7-0 - r 0x40 unused reserved15 (0x15) 7-0 - r 0xb0 unused reserved16 (0x16) 7-0 - r 0x7b unused reserved17 (0x17) 7-0 - r 0x9b unused reglna (0x18) 7 - r 0 unused 6 - r 0 unused 5-3 lnacurrentgain r001 current lna gain, set either manually, or by the agc 2-0 lnagainselect rw 000 lna gain setting: 000 ? gain set by the internal agc loop 001 ? g1 = highest gain 010 ? g2 = highest gain ? 6 db 011 ? g3 = highest gain ? 12 db 100 ? g4 = highest gain ? 24 db 101 ? g5 = highest gain ? 36 db 110 ? g6 = highest gain ? 48 db 111 ? reserved regrxbw (0x19) 7-5 dccfreq rw 010 cut-off frequency of the dc offset canceller (dcc): ~4% of the rxbw by default 4-3 rxbwmant rw 10 channel filter bandwidth control: 00 ? rxbwmant = 16 10 ? rxbwmant = 24 01 ? rxbwmant = 20 11 ? reserved 2-0 rxbwexp rw 101 channel filter bandwidth control: fsk mode: ook mode: see ta b l e 15 for tabulated values regafcbw (0x1a) 7-5 dccfreqafc rw 100 dccfreq parameter used during the afc 4-3 rxbwmantafc rw 01 rxbwmant parameter used during the afc 2-0 rxbwexpafc rw 011 rxbwexp parameter used during the afc fc 4 rxbw ? 2 ? 2 dccfreq 2 + ? ----------------------------------------- - = rxbw fxosc rxbwmant 2 rxbwexp 2 + ? ----------------------------------------------------------------- - = rxbw fxosc rxbwmant 2 rxbwexp 3 + ? ----------------------------------------------------------------- - =
www.semtech.com page 71 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regookpeak (0x1b) 7-6 ookthreshtype rw 01 selects type of threshold in the ook data slicer: 00 ? fixed 10 ? average 01 ? peak 11 ? reserved 5-3 ookpeaktheshstep rw 000 size of each decrement of the rssi threshold in the ook demodulator: 000 ? 0.5 db 001 ? 1.0 db 010 ? 1.5 db 011 ? 2.0 db 100 ? 3.0 db 101 ? 4.0 db 110 ? 5.0 db 111 ? 6.0 db 2-0 ookpeakthreshdec rw 000 period of decrement of the rssi threshold in the ook demodulator: 000 ? once per chip 001 ? once every 2 chips 010 ? once every 4 chips 011 ? once every 8 chips 100 ? twice in each chip 101 ? 4 times in each chip 110 ? 8 times in each chip 111 ? 16 times in each chip regookavg (0x1c) 7-6 ookaveragethreshfilt rw 10 filter coefficients in average mode of the ook demodulator: 00 ? f c chip rate / 32. 01 ? f c chip rate / 8. 10 ? f c chip rate / 4. 11 ? f c chip rate / 2. 5-0 - r 000000 unused regookfix (0x1d) 7-0 ookfixedthresh rw 0110 (6db) fixed threshold value (in db) in the ook demodulator. used when ookthrestype = 00 regafcfei (0x1e) 7 - r 0 unused 6 feidone r0 0 ? fei is on-going 1 ? fei finished 5 feistart w0 triggers a fei measurement when set. always reads 0. 4 afcdone r1 0 ? afc is on-going 1 ? afc has finished 3 afcautoclearon rw 0 only valid if afcautoon is set 0 ? afc register is not cleared before a new afc phase 1 ? afc register is cleared before a new afc phase 2 afcautoon rw 0 0 ? afc is performed each time afcstart is set 1 ? afc is performed each time rx mode is entered 1 afcclear w0 clears the afcvalue if set in rx mode. always reads 0 0 afcstart w0 triggers an afc when set. always reads 0. regafcmsb (0x1f) 7-0 afcvalue(15:8) r0x00 msb of the afcvalue, 2?s complement format regafclsb (0x20) 7-0 afcvalue(7:0) r0x00 lsb of the afcvalue, 2?s complement format frequency correction = afcvalue x fstep regfeimsb (0x21) 7-0 feivalue(15:8) r- msb of the measured frequency offset, 2?s complement regfeilsb (0x22) 7-0 feivalue(7:0) r- lsb of the measured frequency offset, 2?s complement frequency error = feivalue x fstep regrssiconfig (0x23) 7-2 - r 000000 unused 1 rssidone r1 0 ? rssi is on-going 1 ? rssi sampling is finished, result available 0 rssistart w0 trigger a rssi measurement when set. always reads 0. regrssivalue (0x24) 7-0 rssivalue r0xff absolute value of the rssi in dbm, 0.5db steps. rssi = - rssivalue/2 [dbm]
www.semtech.com page 72 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6.5. irq and pin mapping registers table 29 irq and pin mapping registers name (address) bits variable name mode default value description regdiomapping1 (0x25) 7-6 dio0mapping rw 00 mapping of pins dio0 to dio5 see table 23 for mapping in continuous mode see table 24 for mapping in packet mode 5-4 dio1mapping rw 00 3-2 dio2mapping rw 00 1-0 dio3mapping rw 00 regdiomapping2 (0x26) 7-6 dio4mapping rw 00 5-4 dio5mapping rw 00 3 mappreambledetect rw 0 allows the mapping of either rssi or preambledetect to the dio pins, as summarized on ta b l e 23 and table 24 0 ? rssi interrupt 1 ?? preambledetect interrupt 2-0 clkout rw 111 selects clkout frequency: 000 ? fxosc 001 ? fxosc / 2 010 ? fxosc / 4 011 ? fxosc / 8 100 ? fxosc / 16 101 ? fxosc / 32 110 ? rc (automatically enabled) 111 ? off regirqflags1 (0x27) 7 modeready r1 set when the operation mode requested in mode , is ready - sleep: entering sleep mode - standby: xo is running - fs: pll is locked - rx: rssi sampling starts - tx: pa ramp-up completed cleared when changing operating mode. 6 rxready r0 set in rx mode, after rssi, agc and afc. cleared when leaving rx. 5 txready r0 set in tx mode, after pa ramp-up. cleared when leaving tx. 4 plllock r0 set (in fs, rx or tx) when the pll is locked. cleared when it is not. 3 rssi rwc 0 set in rx when the rssivalue exceeds rssithreshold. cleared when leaving rx. 2 timeout r0 set when a timeout occurs (see timeoutrxstart and timeoutrssithresh ) cleared when leaving rx or fifo is emptied. 1 automode r0 set when entering intermediate mode. cleared when exiting intermediate mode. please note that in sleep mode a small delay can be observed between automode interrupt and the corresponding enter/exit condition. 0 syncaddressmatch r/rwc 0 set when sync and address (if enabled) are detected. cleared when leaving rx or fifo is emptied. this bit is read only in packet mode, rwc in continuous mode
www.semtech.com page 73 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regirqflags2 (0x28) 7 fifofull r0 set when fifo is full (i.e. contains 66 bytes), else cleared. 6 fifonotempty r0 set when fifo contains at least one byte, else cleared 5 fifolevel r0 set when the number of bytes in the fifo strictly exceeds fifothreshold , else cleared. 4 fifooverrun rwc 0 set when fifo overrun occurs. (except in sleep mode) flag(s) and fifo are cleared when this bit is set. the fifo then becomes immediately available for the next transmission / reception. 3 packetsent r0 set in tx when the complete packet has been sent. cleared when exiting tx. 2 payloadready r0 set in rx when the payload is ready (i.e. last byte received and crc, if enabled and crcautoclearoff is cleared , is ok). cleared when fifo is empty. 1 crcok r0 set in rx when the crc of the payload is ok. cleared when fifo is empty. 0 lowbat rwc - set when the battery voltage drops below the low battery threshold. cleared only when set by the user. regrssithresh (0x29) 7-0 rssithreshold rw 0xe4 rssi trigger level for rssi interrupt : - rssithreshold / 2 [dbm] regrxtimeout1 (0x2a) 7-0 timeoutrxstart rw 0x00 timeout interrupt is generated timeoutrxstart *16*t bit after switching to rx mode if rssi interrupt doesn?t occur (i.e. rssivalue > rssithreshold) 0x00: timeoutrxstart is disabled regrxtimeout2 (0x2b) 7-0 timeoutrssithresh rw 0x00 timeout interrupt is generated timeoutrssithresh *16*t bit after rssi interrupt if payloadready interrupt doesn?t occur. 0x00: timeoutrssithresh is disabled
www.semtech.com page 74 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6.6. packet engine registers table 30 packet engine registers name (address) bits variable name mode default value description regpreamblemsb (0x2c) 7-0 preamblesize(15:8) rw 0x00 size of the preamble to be sent (from txstartcondition fulfilled). (msb byte) regpreamblelsb (0x2d) 7-0 preamblesize(7:0) rw 0x03 size of the preamble to be sent (from txstartcondition fulfilled). (lsb byte) regsyncconfig (0x2e) 7 syncon rw 1 enables the sync word generation and detection: 0 ? off 1 ? on 6 fifofillcondition rw 0 fifo filling condition: 0 ? if syncaddress interrupt occurs 1 ? as long as fifofillcondition is set 5-3 syncsize rw 011 size of the sync word: ( syncsize + 1) bytes 2-0 synctol rw 000 number of tolerated bit errors in sync word regsyncvalue1 (0x2f) 7-0 syncvalue(63:56) rw 0x01 1 st byte of sync word. (msb byte) used if syncon is set. regsyncvalue2 (0x30) 7-0 syncvalue(55:48) rw 0x01 2 nd byte of sync word used if syncon is set and (syncsize +1) >= 2. regsyncvalue3 (0x31) 7-0 syncvalue(47:40) rw 0x01 3 rd byte of sync word. used if syncon is set and (syncsize +1) >= 3. regsyncvalue4 (0x32) 7-0 syncvalue(39:32) rw 0x01 4 th byte of sync word. used if syncon is set and (syncsize +1) >= 4. regsyncvalue5 (0x33) 7-0 syncvalue(31:24) rw 0x01 5 th byte of sync word. used if syncon is set and (syncsize +1) >= 5. regsyncvalue6 (0x34) 7-0 syncvalue(23:16) rw 0x01 6 th byte of sync word. used if syncon is set and (syncsize +1) >= 6. regsyncvalue7 (0x35) 7-0 syncvalue(15:8) rw 0x01 7 th byte of sync word. used if syncon is set and (syncsize +1) >= 7. regsyncvalue8 (0x36) 7-0 syncvalue(7:0) rw 0x01 8 th byte of sync word. used if syncon is set and (syncsize +1) = 8.
www.semtech.com page 75 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regpacketconfig1 (0x37) 7 packetformat rw 0 defines the packet format used: 0 ? fixed length 1 ? variable length 6-5 dcfree rw 00 defines dc-free encoding/decoding performed: 00 ? none (off) 01 ? manchester 10 ? whitening 11 ? reserved 4 crcon rw 1 enables crc calculat ion/check (tx/rx): 0 ? off 1 ? on 3 crcautoclearoff rw 0 defines the behavior of the packet handler when crc check fails: 0 ? clear fifo and restart new packet reception. no payloadready interrupt issued. 1 ? do not clear fifo. payloadready interrupt issued. 2-1 addressfiltering rw 00 defines address based filtering in rx: 00 ? none (off) 01 ? address field must match nodeaddress 10 ? address field must match nodeaddress or broadcastaddress 11 ? reserved 0 - rw 0 unused regpayloadlength (0x38) 7-0 payloadlength rw 0x40 if packetformat = 0 (fixed), payload length. if packetformat = 1 (variable), max length in rx, not used in tx. regnodeadrs (0x39) 7-0 nodeaddress rw 0x00 node address used in address filtering. regbroadcastadrs (0x3a) 7-0 broadcastaddress rw 0x00 broadcast address used in address filtering. regautomodes (0x3b) 7-5 entercondition rw 000 interrupt condition for entering the intermediate mode: 000 ? none (automodes off) 001 ? rising edge of fifonotempty 010 ? rising edge of fifolevel 011 ? rising edge of crcok 100 ? rising edge of payloadready 101 ? rising edge of syncaddress 110 ? rising edge of packetsent 111 ? falling edge of fifonotempty (i.e. fifo empty) 4-2 exitcondition rw 000 interrupt condition for exiting the intermediate mode: 000 ? none (automodes off) 001 ? falling edge of fifonotempty (i.e. fifo empty) 010 ? rising edge of fifolevel or timeout 011 ? rising edge of crcok or timeout 100 ? rising edge of payloadready or timeout 101 ? rising edge of syncaddress or timeout 110 ? rising edge of packetsent 111 ? rising edge of timeout 1-0 intermediatemode rw 00 intermediate mode: 00 ? sleep mode (sleep) 01 ? standby mode (stdby) 10 ? receiver mode (rx) 11 ? transmitter mode (tx)
www.semtech.com page 76 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regfifothresh (0x3c) 7 txstartcondition rw 1 defines the condition to st art packet transmission : 0 ? fifolevel (i.e. the number of bytes in the fifo exceeds fifothreshold) 1 ? fifonotempty (i.e. at least one byte in the fifo) 6-0 fifothreshold rw 0001111 used to trigger fifolevel interrupt. regpacketconfig2 (0x3d) 7-4 interpacketrxdelay rw 0000 after payloadready occurred, defines the delay between fifo empty and the start of a new rssi phase for next packet. must match the transmitter?s pa ramp-down time. - tdelay = 0 if interpacketrxdelay >= 12 - tdelay = (2 interpacketrxdelay ) / bitrate otherwise 3 - rw 0 unused 2 restartrx w0 forces the receiver in wait mode, in continuous rx mode. always reads 0. 1 autorxrestarton rw 1 enables automatic rx re start (rssi phase) after payloadready occurred and packet has been completely read from fifo: 0 ? off. restartrx can be used. 1 ? on. rx automatically restarted after interpacketrxdelay . 0 aeson rw 0 enable the aes encryption/decryption: 0 ? off 1 ? on (payload limited to 66 bytes maximum) regaeskey1 (0x3e) 7-0 aeskey(127:120) w0x00 1 st byte of cipher key (msb byte) regaeskey2 (0x3f) 7-0 aeskey(119:112) w0x00 2 nd byte of cipher key regaeskey3 (0x40) 7-0 aeskey(111:104) w0x00 3 rd byte of cipher key regaeskey4 (0x41) 7-0 aeskey(103:96) w0x00 4 th byte of cipher key regaeskey5 (0x42) 7-0 aeskey(95:88) w0x00 5 th byte of cipher key regaeskey6 (0x43) 7-0 aeskey(87:80) w0x00 6 th byte of cipher key regaeskey7 (0x44) 7-0 aeskey(79:72) w0x00 7 th byte of cipher key regaeskey8 (0x45) 7-0 aeskey(71:64) w0x00 8 th byte of cipher key regaeskey9 (0x46) 7-0 aeskey(63:56) w0x00 9 th byte of cipher key regaeskey10 (0x47) 7-0 aeskey(55:48) w0x00 10 th byte of cipher key regaeskey11 (0x48) 7-0 aeskey(47:40) w0x00 11 th byte of cipher key regaeskey12 (0x49) 7-0 aeskey(39:32) w0x00 12 th byte of cipher key regaeskey13 (0x4a) 7-0 aeskey(31:24) w0x00 13 th byte of cipher key
www.semtech.com page 77 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 6.7. temperature sensor registers table 31 temperature sensor registers 6.8. test registers table 32 test registers regaeskey14 (0x4b) 7-0 aeskey(23:16) w0x00 14 th byte of cipher key regaeskey15 (0x4c) 7-0 aeskey(15:8) w0x00 15 th byte of cipher key regaeskey16 (0x4d) 7-0 aeskey(7:0) w0x00 16 th byte of cipher key (lsb byte) name (address) bits variable name mode default value description regtemp1 (0x4e) 7-4 - r 0000 unused 3 tempmeasstart w0 triggers the temperature measurement when set. always reads 0. 2 te m p m e a s r u n n i n g r0 set to 1 while the temperature measurement is running. toggles back to 0 when the measurement has completed. the receiver can not be used while measuring temperature 1-0 - r 01 unused regtemp2 (0x4f) 7-0 te m p va l u e r- measured temperature -1 c per lsb needs calibration for accuracy name (address) bits variable name mode default value description regtcxo (0x59) 7-5 reserved rw 0x00 reserved 4 tcxoinputon rw 0x00 controls the crystal oscillator 0 ? crystal oscillator with external crystal 1 ? external clipped sine tcxo ac coupled to xta pin 3-0 reserved rw 0x09 reserved regtestpa1 (0x5a) 7-0 pa20dbm1 rw 0x55 set to 0x5d for +20dbm operation on pa_boost. 0x55 ?? normal mode and rx mode 0x5d ?? +20 dbm mode revert to 0x55 when receiving or using pao regtestpa2 (0x5c) 7-0 pa20dbm2 rw 0x70 set to 0x7c for +20dbm operation on pa_boost. 0x70 ?? normal mode and rx mode 0x7c ?? +20 dbm mode revert to 0x70 when receiving or using pao
www.semtech.com page 78 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation regpreamble (0x6c) 7 preambledetectoron rw 0x00 enables preamble detector when set to 1. the agc settings supersede this bit during the startup / agc phase. 0 ? turned off 1 ? turned on 6-5 preambledetectorsize rw 0x01 number of preamble bytes to detect to trigger an interrupt 00 ? 1 byte 10 ? 3 bytes 01 ? 2 bytes 11 ? reserved 4-0 preambledetectortol rw 0xa number or chip errors tolerated over preambledetectorsize . 4 chips per bit. regdagc (0x6f) 7-0 continuousdagc rw 0x30 fading margin improvement, refer to 3.5.4 0x00 ? normal mode 0x20 ? improved margin, use if afclowbetaon=1 0x30 ? improved margin, use if afclowbetaon=0 regtestpa1 (0x5a) 7-0 pa20dbm1 rw 0x55 set to ox5d for +20 dbm operation on pa_boost. 0x55 ? normal mode and rx mode 0x5d ? +20dbm mode revert to ox55 when receiving or using pa0 regtestpa2 (0x5c) 7-0 pa20dbm2 rw 0x70 set to ox7c for +20 dbm operation on pa_boost. 0x70 ? normal mode and rx mode 0x7c ? +20dbm mode revert to 0x70 when receiving or using pa0 regafcoffset (0x71) 7-0 lowbetaafcoffset rw 0x00 afc offset set for low modula tion index systems, used if afclowbetaon=1 . offset = lowbetaafcoffset x 488 hz
www.semtech.com page 79 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 7. application information 7.1. crystal resonator specification ta b l e 33 shows the crystal resonator specific ation for the crystal reference osc illator circuit of the sx1208. this specification covers the full range of operation of the sx1208 and is employed in the reference design. table 33 crystal specification notes - the initial frequency tolerance, temper ature stability and ageing performance should be chosen in accordance with the target operating temperature range and the receiver bandwidth selected. - the loading capacitance should be applied externally, and adapted to the actual cload specification of the xtal. 7.2. reset of the chip a power-on reset of the sx1208 is trig gered at power up. additionally, a manual reset can be issued by controlling pin 6. 7.2.1. por if the application requires the disconnectio n of vdd from the sx1208, despite of th e extremely low sleep mode current, the user should wait for 10 ms from of the end of the por cycle before commencing communications over the spi bus. pin 6 (reset) should be left floating during the por sequence. figure 38. por timing diagram please note that any clkout activity can also be used to detect that the chip is ready. symbol description conditions min typ max unit fxosc xtal frequency 26 - 32 mhz rs xtal serial resistance - 30 140 ohms c0 xtal shunt capacitance - 2.8 7 pf cload external foot capacitance on each pin xta and xtb 8 16 22 pf wait for 10 ms vdd pin 6 (output) chip is ready from this point on undefined
www.semtech.com page 80 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 7.2.2. manual reset a manual reset of the sx1208 is possible even for applicat ions in which vdd cannot be physically disconnected. pin 6 should be pulled high for a hundred microseconds, and then releas ed. the user should then wait for 5 ms before using the chip. figure 39. manual reset timing diagram note whilst pin 6 is driven high, an ov er current consumption of up to ten milliamps can be seen on vdd. 7.3. reference design please contact your semtech representative for evaluation tool s, reference designs and design assistance. note that all schematics shown in this section are fu ll schematics, listing all re quired components, including decoupling capacitors. figure 40. +13dbm schematic vdd > 100 us chip is ready from this point on pin 6 ( in p ut ) high-z high-z ??1?? wait for 5 ms
www.semtech.com page 81 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation table 34 +13dbm bom figure 41. +17dbm schematic designator 315 mhz 434 mhz type c8, c9, c10, c13 100 nf x7r c1 10 nf x7r c11, c12 15 pf cog l1 1.5 nh 10 nh wirewound air core or multilayer* l2 33 nh 33 nh l3 22 nh 12 nh l4 18 nh 10 nh c2 15 pf 15 pf cog c3 33 pf 22 pf c4 - 2.7 pf c5 15 pf 15 pf c6 - - c7 12 pf 8.2 pf
www.semtech.com page 82 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation table 35 +17dbm bom notes - complete details on selected components are availabl e in the reference design package, down-loadable from the semtech website - (1) inductor values may change when using multilayer type components - (2) an additional dc-cut capacitor (typ. 47pf) might be required with this matching topology and certain rf switches designator 315 mhz 434 mhz type c8, c9, c10, c13 100 nf x7r c1 10 nf x7r c11, c12 15 pf cog l1 1.5 nh 1.5 nh wirewound air core or multilayer (1) l2 33 nh 22 nh l3 22 nh 12 nh l4 33 nh 15 nh l5 39 nh 33 nh c2 22 pf 18 pf cog c3 68 pf 33 pf c4 - 2.7 pf c5 22 pf 15 pf c6 - - c7 12 pf 8.2 pf c14 - - c15 12 pf 12 pf
www.semtech.com page 83 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 8. packaging information 8.1. package outline dr awing and land pattern the sx1208 is available in a 24-lead qfn package as show in figure 42 . figure 42. qfn 24 package outline drawing and land pattern 8.2. thermal impedance the thermal impedance of this package , calculated from a package in still air, on a 4-layer fr4 pcb, as per the jedec standard, is: ? theta ja = 23.8 c/w typ. millimeters 0.65 bsc 0.00 a1 e1 aaa bbb n e l a2 d1 d e b 0.35 4.90 4.90 3.20 - 0.25 dim a dimensions 0.80 min - 0.05 5.10 5.10 3.30 0.45 0.35 0.40 0.10 0.08 24 5.00 (0.20) 3.25 5.00 0.30 - 1.00 max - nom b aaa c 3.20 3.25 3.30 d e a a2 a1 e/2 e bxn lxn e/2 d/2 d1 e1 c seating plane 1 2 n bbb c a b coplanarity applies to the exposed pad as well as the terminals. controlling dimensions are in millimeters (angles in degrees). notes: 2. 1. a pin 1 indicator (laser mark) k h g z (c) y p x this land pattern is for reference purposes only. consult your manufacturing group to ensure your notes: 2. dim x y h k p c g millimeters (4.90) 0.35 0.80 3.30 0.65 3.30 4.10 dimensions company's manufacturing guidelines are met. 5.70 z failure to do so may compromise the thermal and/or functional performance of the device. shall be connected to a system ground plane. thermal vias in the land pattern of the exposed pad 3. 4. square package-dimensions apply in both x and y directions. controlling dimensions are in millimeters (angles in degrees). 1.
www.semtech.com page 84 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 8.3. tape & reel specification figure 43. tape & reel specification note single sprocket holes
www.semtech.com page 85 sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation 9. revision history table 36 revision history revision date comment 1 march 2015 first release
www.semtech.com page 86 contact information semtech corporation wireless, sensing & ti ming products division 200 flynn road, camarillo, ca 93012 phone: (805) 498-2111 fax: (805) 498-3804 e-mail: sales@semtech.com support_rf@semtech.com internet: http://www.semtech.com ? semtech 2015 a ll rights reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights. semtech assumes no responsibility or liability whatsoever for any failure or unexpected operation resulting from misuse, neglect improper installation, repair or improper handling or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified range. semtech products are not designed , intended, authorized or warranted to be suitable for use in life-support applications, devices or systems or other critical applications. inclusion of semtech products in such applications is understood to be undertaken solely at the customer?s own risk. should a customer purchase or use semtech products for any such unauthorized application, the customer shall indemnify and hold semtech and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs damages and attorney fees which could arise. sx1208 wireless, sensing & timing datasheet rev. 1 - march 2015 ?2015 semtech corporation


▲Up To Search▲   

 
Price & Availability of SX1208IMLTRT

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X